safeguard against running inside existing repo