Make testrepo.git really bare.

As discovered while polishing #224, the testrepo.git which was meant to be bare isn't really so : its core.bare setting is set to false.

This PR corrects that setting and update various things so bare repo are handled correctly.