build: fix: remove error output

while git not found in path, error is output to console.
Merge pull request #4155

b1f0be0 build: fix: remove error output (harry)