Spurious error messages on CentOS 6.3 machines without "git" installed

On stock centOS 6.3 machines without "git" installed the command "which git"

returns an error to stderr and as a consequence every Salt command prints this
same error to the screen. This one-line fix prevents this from occurring.

If "git" is not used then it should not be generating these spurious error messages.