homebrew: look for .git/ outside of build workspace #1274
cmake: handle missing git or .git/

GetGitRevisionDescription.cmake: we don't need fine-grained failure
modes, we only need "yes" or "no".

fix #1292