fix NPE in FileRepoCleanupThread