Maintain fully qualified tracking branches
Maintain fully qualified tracking branches

When running repo branch, the git merge line (in many circumstances)
is set to the revision of the project specified in the manifest.  If
this is a branch name that is not fully-qualified, we will end up with
something like "merge = master" instead of "merge = refs/heads/master".
This change examines the revision if we are going to use that and
changes branch short names to fully qualified branch names.

Change-Id: Ie1be94fb8d45df8eeac44a47f729a3819a05fa81

derron/git-repo,nuclearmistake/repo,ediTLJ/git-repo,wavecomp/git-repo,testbetta/git-repo-pub,flingone/git-repo,lipro-yocto/git-repo,dodocat/git-repo,ediTLJ/git-repo,FlymeOS/repo,lewixliu/git-repo,11NJ/git-repo,GatorQue/git-repo-flow,slfyusufu/repo,4455jkjh/repo,testbetta/repo-pub,llg84/google_repo,kdavis-mozilla/repo-repo,mixedpuppy/git-repo,petemoore/git-repo,darrengarvey/git-repo,codetutil/git-repo,aosp-mirror/tools_repo,zemug/repo,ChronoMonochrome/repo,FlymeOS/repo,GerritCodeReview/git-repo,darrengarvey/git-repo,kangear/git-repo,TheQtCompany/git-repo,mer-tools/git-repo,nuclearmistake/repo,testbetta/git-repo-pub,chzhong/git-repo,ChronoMonochrome/repo,flingone/git-repo,dodocat/git-repo,chenzilin/git-repo,testbetta/repo-pub,jingyu/git-repo,qioixiy/git-repo,zemug/repo,kangear/git-repo,biaolv/git-repo,ronan22/repo,petemoore/git-repo,qupai/git-repo,xyyangkun/git-repo,CyanogenMod/tools_repo,mozilla/git-repo,jingyu/git-repo,simbasailor/git-repo,frogbywyplay/git-repo,llg84/google_repo,11NJ/git-repo,GatorQue/git-repo-flow,gbraad/git-repo,FuangCao/git-repo,gabbayo/git-repo,qupai/git-repo,chzhong/git-repo,slfyusufu/repo,simbasailor/git-repo,xyyangkun/git-repo,ronan22/repo,chenzilin/git-repo,kdavis-mozilla/repo-repo,lipro-yocto/git-repo,CyanogenMod/tools_repo,mixedpuppy/git-repo,lewixliu/git-repo,mozilla/git-repo,FuangCao/repo,gbraad/git-repo,FuangCao/repo,couchbasedeps/git-repo,FuangCao/git-repo,gabbayo/git-repo,frogbywyplay/git-repo,GerritCodeReview/git-repo,couchbasedeps/git-repo,TheQtCompany/git-repo,wavecomp/git-repo,aosp-mirror/tools_repo,qioixiy/git-repo,derron/git-repo,mer-tools/git-repo,iAlios/git-repo,codetutil/git-repo,iAlios/git-repo,biaolv/git-repo,4455jkjh/repo