Don't depend on libgit2 repo history

Some tests depend on the full history of libgit2
being present; this avoids running them inside
a shallow clone.