Add reference name to repo path when cloning