Suppress git error on repository check