fix: remove error output when git not found.

on my windows 7, msys building will complain that git not found, "which git: command not found"