Support cloning rc from tag or branch