Wrap git_revparse_single
Correctly identify which object type we're trying to transform