A project has had an issue of a commit being done that removed all the partials. Need to investigate the possible cases this could happen to prevent this from happening.
An initial guess is that the partials information was not finished loading (since it needs to be done separately from the loading of the data) and it was returned as an empty array (which gets removed in cleanup) instead of using the the original value.