Revert "skip git-related tests if the modules aren't found"

This reverts commit 02be86749c06d95e6d2c7fda008f616bf7d6fbe9.