Avoid repo.getRepositoryName() (sensitive to timing during startup

(Premature repository?)