name-rev: allow converting the exact object name at the tip of a ref