This is to fix a first-start race condition where the DB was already being used, but the repos weren't even inserted.