Catch exception for config when not in repo