Return an object rather than oid from Repository.head