Prepare testsuite for a "git clone" that packs refs