Display an error if cmake fails to find git during the submodules step.

On some setup such as mine, git does not exist in $PATH