Fix to mirror manifest when --mirror is given
Fix to mirror manifest when --mirror is given

Commit 8d201 "repo: Support multiple branches for the same project."
(Change id is I5e2f4e1a7abb56f9d3f310fa6fd0c17019330ecd) caused missing
mirroring manifest repository when 'repo sync' after 'repo init --mirror'.

When the function _AddMetaProjectMirror() is called to add two of
meta projects - git-repo itself and manifest repository to mirror,
it didn't add them into self._paths which has list of projects to be
sync'ed by 'repo sync'.

In addition, because member var of Project 'relpath' is used as a key
of self._paths, it should be set with proper value other than None.
Since this is only for meta projects which are not described in manifest
xml, 'relpath' is name of the projects.

Change-Id: Icc3b9e6739a78114ec70bf54fe645f79df972686
Signed-off-by: Kwanhong Lee <f3cb99d99980a523126a2bed733fe696092641cf@windriver.com>

chzhong/git-repo,RuanJG/git-repo,biaolv/git-repo,ChronoMonochrome/repo,daimajia/git-repo,dodocat/git-repo,GerritCodeReview/git-repo,FlymeOS/repo,testbetta/repo-pub,ronan22/repo,opencontrail-ci-admin/git-repo,hisilicon/git-repo,ceejatec/git-repo,FuangCao/repo,llg84/google_repo,demonyangyue/git-repo,11NJ/git-repo,aosp-mirror/tools_repo,hacker-camp/google_repo,windyan/git-repo,chenzilin/git-repo,Pivosgroup/google-git-repo,kangear/git-repo,jcfrank/myrepo,aosp-mirror/tools_repo,testbetta/git-repo-pub,simbasailor/git-repo,mer-tools/git-repo,petemoore/git-repo,wavecomp/git-repo,IbpTeam/repo,jingyu/git-repo,4455jkjh/repo,chzhong/git-repo,slfyusufu/repo,lightsofapollo/git-repo,frogbywyplay/git-repo,IbpTeam/repo,lewixliu/git-repo,opencontrail-ci-admin/git-repo,CyanogenMod/tools_repo,venus-solar/git-repo,linuxdeepin/git-repo,xianyo/git-repo,venus-solar/git-repo,gabbayo/git-repo,kdavis-mozilla/repo-repo,ilansmith/repo,xecle/git-repo,xianyo/git-repo,nuclearmistake/repo,mozilla/git-repo,llg84/google_repo,ceejatec/git-repo,windyan/git-repo,darrengarvey/git-repo,Pivosgroup/google-git-repo,zemug/repo,lshain/repo,mixedpuppy/git-repo,GatorQue/git-repo-flow,kangear/git-repo,qupai/git-repo,eric011/git-repo,DavidPu/git-repo,biaolv/git-repo,chenzilin/git-repo,codetutil/git-repo,dodocat/git-repo,wzhy90/git-repo,wzhy90/git-repo,petemoore/git-repo,xyyangkun/git-repo,codetutil/git-repo,lipro-yocto/git-repo,ediTLJ/git-repo,couchbasedeps/git-repo,CyanogenMod/tools_repo,darrengarvey/git-repo,derron/git-repo,daimajia/git-repo,FuangCao/repo,gabbayo/git-repo,GerritCodeReview/git-repo,nuclearmistake/repo,gbraad/git-repo,iAlios/git-repo,frogbywyplay/git-repo,testbetta/repo-pub,FuangCao/git-repo,ilansmith/repo,qupai/git-repo,TheQtCompany/git-repo,loungin/git-repo,couchbasedeps/git-repo,lightsofapollo/git-repo,flingone/git-repo,kdavis-mozilla/repo-repo,derron/git-repo,mixedpuppy/git-repo,flingone/git-repo,gbraad/git-repo,zemug/repo,eligoenergy/git-repo,qioixiy/git-repo,lipro-yocto/git-repo,testbetta/git-repo-pub,hisilicon/git-repo,demonyangyue/git-repo,lewixliu/git-repo,FuangCao/git-repo,mozilla/git-repo,ChronoMonochrome/repo,qioixiy/git-repo,xin3liang/git-repo,loungin/git-repo,wavecomp/git-repo,iAlios/git-repo,RuanJG/git-repo,xyyangkun/git-repo,xin3liang/git-repo,eligoenergy/git-repo,linuxdeepin/git-repo,eric011/git-repo,lshain/repo,ediTLJ/git-repo,xecle/git-repo,TheQtCompany/git-repo,ronan22/repo,jcfrank/myrepo,FlymeOS/repo,mer-tools/git-repo,GatorQue/git-repo-flow,jingyu/git-repo,4455jkjh/repo,11NJ/git-repo,slfyusufu/repo,simbasailor/git-repo,DavidPu/git-repo,hacker-camp/google_repo