pack-objects tests: don't leave test .git corrupt at end