Prevent nil panics in housekeeping.Perform
We discovered some panics via #2013 (closed).
We don't understand exactly how this is happening, but the current behavior is a process crash (!). After this change there will be a log message, and no crash.
Edited by GitLab Release Tools Bot