Suppress SHA-1 from rev-parse during --add

When checking that the ref given to --add is valid, the output of
git-rev-parse is not redirected to /dev/null and appears in the output
stream.  Stop this.

Signed-off-by: John Keeping <john@keeping.me.uk>