create_repo: start with correct ref