Fix `user_can_reference_project?` check
Fix `user_can_reference_project?` check

ordiychen/gitlabhq,delkyd/gitlabhq,eliasp/gitlabhq,k4zzk/gitlabhq,pjknkda/gitlabhq,joalmeid/gitlabhq,bbodenmiller/gitlabhq,bigsurge/gitlabhq,htve/GitlabForChinese,initiummedia/gitlabhq,jirutka/gitlabhq,sue445/gitlabhq,tk23/gitlabhq,martijnvermaat/gitlabhq,stanhu/gitlabhq,rebecamendez/gitlabhq,gorgee/gitlabhq,flashbuckets/gitlabhq,fantasywind/gitlabhq,fearenales/gitlabhq,chenrui2014/gitlabhq,pulkit21/gitlabhq,tk23/gitlabhq,daiyu/gitlab-zh,larryli/gitlabhq,per-garden/gitlabhq,Soullivaneuh/gitlabhq,larryli/gitlabhq,yatish27/gitlabhq,salipro4ever/gitlabhq,michaKFromParis/gitlabhqold,axilleas/gitlabhq,initiummedia/gitlabhq,nguyen-tien-mulodo/gitlabhq,ikappas/gitlabhq,sakishum/gitlabhq,larryli/gitlabhq,yama07/gitlabhq,koreamic/gitlabhq,bbodenmiller/gitlabhq,martinma4/gitlabhq,dplarson/gitlabhq,dwrensha/gitlabhq,martijnvermaat/gitlabhq,chadyred/gitlabhq,Tyrael/gitlabhq,liyakun/gitlabhq,szechyjs/gitlabhq,stoplightio/gitlabhq,salipro4ever/gitlabhq,sue445/gitlabhq,luzhongyang/gitlabhq,whluwit/gitlabhq,childbamboo/gitlabhq,daiyu/gitlab-zh,fendoudeqingchunhh/gitlabhq,michaKFromParis/gitlabhq,Tyrael/gitlabhq,tim-hoff/gitlabhq,duduribeiro/gitlabhq,cui-liqiang/gitlab-ce,martinma4/gitlabhq,allysonbarros/gitlabhq,williamherry/gitlabhq,ordiychen/gitlabhq,childbamboo/gitlabhq,fantasywind/gitlabhq,ferdinandrosario/gitlabhq,mmkassem/gitlabhq,kemenaran/gitlabhq,dvrylc/gitlabhq,screenpages/gitlabhq,darkrasid/gitlabhq,TheWatcher/gitlabhq,tempbottle/gitlabhq,vjustov/gitlabhq,nmav/gitlabhq,szechyjs/gitlabhq,martinma4/gitlabhq,sakishum/gitlabhq,kemenaran/gitlabhq,chadyred/gitlabhq,allistera/gitlabhq,jaepyoung/gitlabhq,rebecamendez/gitlabhq,stoplightio/gitlabhq,bbodenmiller/gitlabhq,revaret/gitlabhq,theonlydoo/gitlabhq,Tyrael/gitlabhq,per-garden/gitlabhq,julianengel/gitlabhq,hzy001/gitlabhq,michaKFromParis/sparkslab,sonalkr132/gitlabhq,joalmeid/gitlabhq,larryli/gitlabhq,since2014/gitlabhq,bozaro/gitlabhq,rumpelsepp/gitlabhq,theonlydoo/gitlabhq,copystudy/gitlabhq,iiet/iiet-git,mrb/gitlabhq,fscherwi/gitlabhq,theonlydoo/gitlabhq,Burick/gitlabhq,WSDC-NITWarangal/gitlabhq,chenrui2014/gitlabhq,OtkurBiz/gitlabhq,SVArago/gitlabhq,joalmeid/gitlabhq,chadyred/gitlabhq,yama07/gitlabhq,nguyen-tien-mulodo/gitlabhq,OtkurBiz/gitlabhq,pjknkda/gitlabhq,hq804116393/gitlabhq,kemenaran/gitlabhq,dwrensha/gitlabhq,zrbsprite/gitlabhq,revaret/gitlabhq,williamherry/gitlabhq,chenrui2014/gitlabhq,allistera/gitlabhq,ngpestelos/gitlabhq,nmav/gitlabhq,MauriceMohlek/gitlabhq,michaKFromParis/gitlabhqold,koreamic/gitlabhq,youprofit/gitlabhq,dukex/gitlabhq,koreamic/gitlabhq,jrjang/gitlabhq,jirutka/gitlabhq,fendoudeqingchunhh/gitlabhq,dvrylc/gitlabhq,copystudy/gitlabhq,ksoichiro/gitlabhq,tk23/gitlabhq,salipro4ever/gitlabhq,jvanbaarsen/gitlabhq,dplarson/gitlabhq,jirutka/gitlabhq,rebecamendez/gitlabhq,OlegGirko/gitlab-ce,daiyu/gitlab-zh,jvanbaarsen/gitlabhq,MauriceMohlek/gitlabhq,htve/GitlabForChinese,chenrui2014/gitlabhq,bozaro/gitlabhq,delkyd/gitlabhq,yama07/gitlabhq,hq804116393/gitlabhq,mmkassem/gitlabhq,wangcan2014/gitlabhq,gopeter/gitlabhq,manfer/gitlabhq,williamherry/gitlabhq,yonglehou/gitlabhq,jrjang/gitlabhq,martinma4/gitlabhq,fpgentil/gitlabhq,Soullivaneuh/gitlabhq,stanhu/gitlabhq,julianengel/gitlabhq,mrb/gitlabhq,ayufan/gitlabhq,mavimo/gitlabhq,SVArago/gitlabhq,axilleas/gitlabhq,kemenaran/gitlabhq,rhels/gitlabhq,icedwater/gitlabhq,sakishum/gitlabhq,mr-dxdy/gitlabhq,mr-dxdy/gitlabhq,zrbsprite/gitlabhq,bigsurge/gitlabhq,luzhongyang/gitlabhq,shinexiao/gitlabhq,johnmyqin/gitlabhq,ikappas/gitlabhq,stoplightio/gitlabhq,folpindo/gitlabhq,youprofit/gitlabhq,MauriceMohlek/gitlabhq,LytayTOUCH/gitlabhq,icedwater/gitlabhq,delkyd/gitlabhq,htve/GitlabForChinese,folpindo/gitlabhq,ttasanen/gitlabhq,mrb/gitlabhq,per-garden/gitlabhq,Telekom-PD/gitlabhq,daiyu/gitlab-zh,it33/gitlabhq,yatish27/gitlabhq,since2014/gitlabhq,SVArago/gitlabhq,sakishum/gitlabhq,wangcan2014/gitlabhq,iiet/iiet-git,NKMR6194/gitlabhq,icedwater/gitlabhq,ayufan/gitlabhq,openwide-java/gitlabhq,fpgentil/gitlabhq,whluwit/gitlabhq,theodi/gitlabhq,fantasywind/gitlabhq,OlegGirko/gitlab-ce,yatish27/gitlabhq,TheWatcher/gitlabhq,salipro4ever/gitlabhq,DanielZhangQingLong/gitlabhq,martijnvermaat/gitlabhq,yama07/gitlabhq,aaronsnyder/gitlabhq,revaret/gitlabhq,dwrensha/gitlabhq,hzy001/gitlabhq,mr-dxdy/gitlabhq,NKMR6194/gitlabhq,Razer6/gitlabhq,fscherwi/gitlabhq,sonalkr132/gitlabhq,yatish27/gitlabhq,theonlydoo/gitlabhq,bozaro/gitlabhq,iiet/iiet-git,ferdinandrosario/gitlabhq,k4zzk/gitlabhq,louahola/gitlabhq,sekcheong/gitlabhq,NKMR6194/gitlabhq,H3Chief/gitlabhq,cinderblock/gitlabhq,michaKFromParis/gitlabhqold,youprofit/gitlabhq,nguyen-tien-mulodo/gitlabhq,liyakun/gitlabhq,zBMNForks/gitlabhq,aaronsnyder/gitlabhq,joalmeid/gitlabhq,dreampet/gitlab,per-garden/gitlabhq,dukex/gitlabhq,julianengel/gitlabhq,youprofit/gitlabhq,mente/gitlabhq,copystudy/gitlabhq,folpindo/gitlabhq,axilleas/gitlabhq,ikappas/gitlabhq,Exeia/gitlabhq,sekcheong/gitlabhq,dreampet/gitlab,rebecamendez/gitlabhq,rhels/gitlabhq,yonglehou/gitlabhq,darkrasid/gitlabhq,gorgee/gitlabhq,t-zuehlsdorff/gitlabhq,Burick/gitlabhq,williamherry/gitlabhq,rumpelsepp/gitlabhq,allysonbarros/gitlabhq,hacsoc/gitlabhq,luzhongyang/gitlabhq,ordiychen/gitlabhq,childbamboo/gitlabhq,Burick/gitlabhq,OtkurBiz/gitlabhq,szechyjs/gitlabhq,Burick/gitlabhq,TheWatcher/gitlabhq,manfer/gitlabhq,mrb/gitlabhq,fearenales/gitlabhq,Telekom-PD/gitlabhq,louahola/gitlabhq,nguyen-tien-mulodo/gitlabhq,Razer6/gitlabhq,LUMC/gitlabhq,sekcheong/gitlabhq,fearenales/gitlabhq,t-zuehlsdorff/gitlabhq,H3Chief/gitlabhq,fpgentil/gitlabhq,sue445/gitlabhq,flashbuckets/gitlabhq,yfaizal/gitlabhq,julianengel/gitlabhq,screenpages/gitlabhq,openwide-java/gitlabhq,SVArago/gitlabhq,sue445/gitlabhq,hq804116393/gitlabhq,hq804116393/gitlabhq,TheWatcher/gitlabhq,LytayTOUCH/gitlabhq,it33/gitlabhq,lvfeng1130/gitlabhq,dwrensha/gitlabhq,michaKFromParis/sparkslab,ksoichiro/gitlabhq,jaepyoung/gitlabhq,aaronsnyder/gitlabhq,WSDC-NITWarangal/gitlabhq,michaKFromParis/sparkslab,Datacom/gitlabhq,hacsoc/gitlabhq,zBMNForks/gitlabhq,darkrasid/gitlabhq,cui-liqiang/gitlab-ce,tempbottle/gitlabhq,zBMNForks/gitlabhq,michaKFromParis/gitlabhq,screenpages/gitlabhq,jvanbaarsen/gitlabhq,flashbuckets/gitlabhq,jrjang/gitlab-ce,cinderblock/gitlabhq,kitech/gitlabhq,liyakun/gitlabhq,johnmyqin/gitlabhq,since2014/gitlabhq,WSDC-NITWarangal/gitlabhq,bigsurge/gitlabhq,ksoichiro/gitlabhq,dvrylc/gitlabhq,icedwater/gitlabhq,cinderblock/gitlabhq,wangcan2014/gitlabhq,gorgee/gitlabhq,eliasp/gitlabhq,OtkurBiz/gitlabhq,sekcheong/gitlabhq,allysonbarros/gitlabhq,rumpelsepp/gitlabhq,MauriceMohlek/gitlabhq,openwide-java/gitlabhq,H3Chief/gitlabhq,yfaizal/gitlabhq,martijnvermaat/gitlabhq,fgbreel/gitlabhq,shinexiao/gitlabhq,NKMR6194/gitlabhq,gopeter/gitlabhq,whluwit/gitlabhq,Razer6/gitlabhq,initiummedia/gitlabhq,hacsoc/gitlabhq,k4zzk/gitlabhq,yfaizal/gitlabhq,Razer6/gitlabhq,whluwit/gitlabhq,tempbottle/gitlabhq,lvfeng1130/gitlabhq,tim-hoff/gitlabhq,stanhu/gitlabhq,vjustov/gitlabhq,DanielZhangQingLong/gitlabhq,ayufan/gitlabhq,shinexiao/gitlabhq,openwide-java/gitlabhq,Devin001/gitlabhq,cui-liqiang/gitlab-ce,Datacom/gitlabhq,H3Chief/gitlabhq,zrbsprite/gitlabhq,vjustov/gitlabhq,fearenales/gitlabhq,LUMC/gitlabhq,hacsoc/gitlabhq,folpindo/gitlabhq,LUMC/gitlabhq,mavimo/gitlabhq,ttasanen/gitlabhq,duduribeiro/gitlabhq,jaepyoung/gitlabhq,ttasanen/gitlabhq,gopeter/gitlabhq,hzy001/gitlabhq,gopeter/gitlabhq,ordiychen/gitlabhq,luzhongyang/gitlabhq,theodi/gitlabhq,tempbottle/gitlabhq,kitech/gitlabhq,since2014/gitlabhq,jirutka/gitlabhq,nmav/gitlabhq,revaret/gitlabhq,Tyrael/gitlabhq,mente/gitlabhq,wangcan2014/gitlabhq,mente/gitlabhq,dreampet/gitlab,kitech/gitlabhq,mr-dxdy/gitlabhq,gorgee/gitlabhq,fgbreel/gitlabhq,duduribeiro/gitlabhq,rhels/gitlabhq,pulkit21/gitlabhq,sonalkr132/gitlabhq,louahola/gitlabhq,tim-hoff/gitlabhq,LUMC/gitlabhq,Soullivaneuh/gitlabhq,iiet/iiet-git,Telekom-PD/gitlabhq,jrjang/gitlabhq,michaKFromParis/sparkslab,rhels/gitlabhq,bbodenmiller/gitlabhq,vjustov/gitlabhq,manfer/gitlabhq,lvfeng1130/gitlabhq,eliasp/gitlabhq,fantasywind/gitlabhq,ferdinandrosario/gitlabhq,tk23/gitlabhq,flashbuckets/gitlabhq,OlegGirko/gitlab-ce,kitech/gitlabhq,yfaizal/gitlabhq,pjknkda/gitlabhq,dukex/gitlabhq,fgbreel/gitlabhq,manfer/gitlabhq,Devin001/gitlabhq,childbamboo/gitlabhq,ikappas/gitlabhq,initiummedia/gitlabhq,theodi/gitlabhq,fscherwi/gitlabhq,michaKFromParis/gitlabhqold,Exeia/gitlabhq,jvanbaarsen/gitlabhq,dukex/gitlabhq,Soullivaneuh/gitlabhq,nmav/gitlabhq,jaepyoung/gitlabhq,t-zuehlsdorff/gitlabhq,jrjang/gitlabhq,ngpestelos/gitlabhq,mmkassem/gitlabhq,fgbreel/gitlabhq,shinexiao/gitlabhq,allistera/gitlabhq,bozaro/gitlabhq,michaKFromParis/gitlabhq,LytayTOUCH/gitlabhq,Datacom/gitlabhq,WSDC-NITWarangal/gitlabhq,t-zuehlsdorff/gitlabhq,rumpelsepp/gitlabhq,johnmyqin/gitlabhq,yonglehou/gitlabhq,delkyd/gitlabhq,yonglehou/gitlabhq,DanielZhangQingLong/gitlabhq,copystudy/gitlabhq,dplarson/gitlabhq,fendoudeqingchunhh/gitlabhq,OlegGirko/gitlab-ce,stanhu/gitlabhq,it33/gitlabhq,Devin001/gitlabhq,ngpestelos/gitlabhq,jrjang/gitlab-ce,mente/gitlabhq,it33/gitlabhq,LytayTOUCH/gitlabhq,chadyred/gitlabhq,ferdinandrosario/gitlabhq,fendoudeqingchunhh/gitlabhq,Devin001/gitlabhq,zBMNForks/gitlabhq,liyakun/gitlabhq,jrjang/gitlab-ce,louahola/gitlabhq,ttasanen/gitlabhq,ngpestelos/gitlabhq,ayufan/gitlabhq,Exeia/gitlabhq,szechyjs/gitlabhq,michaKFromParis/gitlabhq,pjknkda/gitlabhq,dvrylc/gitlabhq,hzy001/gitlabhq,pulkit21/gitlabhq,cinderblock/gitlabhq,mavimo/gitlabhq,Telekom-PD/gitlabhq,eliasp/gitlabhq,aaronsnyder/gitlabhq,theodi/gitlabhq,zrbsprite/gitlabhq,mavimo/gitlabhq,pulkit21/gitlabhq,dplarson/gitlabhq,fscherwi/gitlabhq,k4zzk/gitlabhq,fpgentil/gitlabhq,tim-hoff/gitlabhq,sonalkr132/gitlabhq,darkrasid/gitlabhq,bigsurge/gitlabhq,cui-liqiang/gitlab-ce,dreampet/gitlab,screenpages/gitlabhq,htve/GitlabForChinese,DanielZhangQingLong/gitlabhq,johnmyqin/gitlabhq,Datacom/gitlabhq,axilleas/gitlabhq,allysonbarros/gitlabhq,duduribeiro/gitlabhq,ksoichiro/gitlabhq,Exeia/gitlabhq,allistera/gitlabhq,stoplightio/gitlabhq,lvfeng1130/gitlabhq,koreamic/gitlabhq,jrjang/gitlab-ce,mmkassem/gitlabhq