build: fix: remove error output

while git not found in path, error is output to console.