Handle git symbolic-ref not knowning --short.