git-verify-pack: get rid of while loop