silence CMake if git is not found