test-lib.sh: Allow running the test suite against installed git