don't generate unnecessary output in run-command-on-git-revisions

When doing the `reset --hard` it would output something like "HEAD is
now at as2zv22" which would interfer with other scripts.