Make Repo#get_ref public