Fixed issue with spaces in path

Refs #10331
Merge branch 'feature/10331_install_git_macros_finds_git' into develop