Disable tests for Git dependencies when possible.