Katja: Fix repository initialization flaw