Fix git-copy-repo script for non-master default branches