Revert "Reworked test repositories"

This reverts commit af5295ab32dab30a2753f9aa04b3712c8073ac91.

Making the git repos bare was a cosmetic change. Turns out the change broke the tests.