Test for recent rev-parse $abbrev_sha1 regression