Only use 'origin/' when the commit-ish actually lives on the remote.

I was getting an error trying to parse
   origin/8ef92ca546c5e299d51b1f4d8425c58fbe5a6f44
!

Auditors: chris

Test plan:
Fingers crossed