Use 'is_proper_gitmirror' to detect corrupted checkouts.