More graceful degradation for old versions of git.