parse-remote: trivial fix to allow refs/{heads,tags}/ spelled easier.