Fix crash in gitlab:check while checking hooks
Fix crash in gitlab:check while checking hooks

revaret/gitlabhq,cinderblock/gitlabhq,1ed/gitlabhq,ksoichiro/gitlabhq,mrb/gitlabhq,luzhongyang/gitlabhq,jirutka/gitlabhq,Telekom-PD/gitlabhq,salipro4ever/gitlabhq,WSDC-NITWarangal/gitlabhq,yonglehou/gitlabhq,ferdinandrosario/gitlabhq,mathstuf/gitlabhq,martijnvermaat/gitlabhq,larryli/gitlabhq,allysonbarros/gitlabhq,childbamboo/gitlabhq,liyakun/gitlabhq,fscherwi/gitlabhq,yfaizal/gitlabhq,copystudy/gitlabhq,jrjang/gitlab-ce,joalmeid/gitlabhq,hacsoc/gitlabhq,joalmeid/gitlabhq,darkrasid/gitlabhq,martinma4/gitlabhq,shinexiao/gitlabhq,zBMNForks/gitlabhq,H3Chief/gitlabhq,michaKFromParis/sparkslab,dwrensha/gitlabhq,szechyjs/gitlabhq,lvfeng1130/gitlabhq,xuvw/gitlabhq,gopeter/gitlabhq,stoplightio/gitlabhq,screenpages/gitlabhq,dukex/gitlabhq,cui-liqiang/gitlab-ce,nuecho/gitlabhq,yfaizal/gitlabhq,ttasanen/gitlabhq,zrbsprite/gitlabhq,DanielZhangQingLong/gitlabhq,goeun/myRepo,chadyred/gitlabhq,8thcolor/rubyconfau2015-sadr,phinfonet/mobbr-gitlabhq,wangcan2014/gitlabhq,ferdinandrosario/gitlabhq,windymid/test2,neiljbrookes/glab,1ed/gitlabhq,Kambda/Mobbr,stellamiranda/mobbr-gitlabhq,ZeoAlliance/gitlabhq,htve/GitlabForChinese,sue445/gitlabhq,salipro4ever/gitlabhq,copystudy/gitlabhq,rebecamendez/gitlabhq,8thcolor/eurucamp2014-htdsadr,OlegGirko/gitlab-ce,koreamic/gitlabhq,0x20h/gitlabhq,joalmeid/gitlabhq,rfeese/gitlab-ce,rhels/gitlabhq,NKMR6194/gitlabhq,nguyen-tien-mulodo/gitlabhq,yonglehou/gitlabhq,fearenales/gitlabhq,bladealslayer/gitlabhq,mmkassem/gitlabhq,Kambda/mobbr-gitlabhq,k4zzk/gitlabhq,dwrensha/gitlabhq,gopeter/gitlabhq,Razer6/gitlabhq,per-garden/gitlabhq,folpindo/gitlabhq,Tyrael/gitlabhq,bozaro/gitlabhq,Keystion/gitlabhq,cncodog/gitlab,aaronsnyder/gitlabhq,8thcolor/testing-public-gitlabhq,pulkit21/gitlabhq,williamherry/gitlabhq,SVArago/gitlabhq,mr-dxdy/gitlabhq,atomaka/gitlabhq,jvanbaarsen/gitlabhq,ordiychen/gitlabhq,Keystion/gitlabhq,LytayTOUCH/gitlabhq,ttasanen/gitlabhq,fpgentil/gitlabhq,WSDC-NITWarangal/gitlabhq,rumpelsepp/gitlabhq,it33/gitlabhq,openwide-java/gitlabhq,jairzh/gitlabhq-sfdc,rebecamendez/gitlabhq,ksoichiro/gitlabhq,NuLL3rr0r/gitlabhq,mrb/gitlabhq,revaret/gitlabhq,H3Chief/gitlabhq,goeun/myRepo,fgbreel/gitlabhq,pupaxxo/gitlabhq,Devin001/gitlabhq,bigsurge/gitlabhq,rebecamendez/gitlabhq,childbamboo/gitlabhq,julianengel/gitlabhq,michaKFromParis/gitlabhqold,MauriceMohlek/gitlabhq,johnmyqin/gitlabhq,nguyen-tien-mulodo/gitlabhq,tim-hoff/gitlabhq,larryli/gitlabhq,yuyue2013/ss,t-zuehlsdorff/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,H3Chief/gitlabhq,michaKFromParis/sparkslab,8thcolor/rubyconfau2015-sadr,yulchitaj/TEST3,daiyu/gitlab-zh,cui-liqiang/gitlab-ce,stanhu/gitlabhq,liyakun/gitlabhq,initiummedia/gitlabhq,allysonbarros/gitlabhq,ibiart/gitlabhq,jaepyoung/gitlabhq,hzy001/gitlabhq,sonalkr132/gitlabhq,gopeter/gitlabhq,pkgr/gitlabhq,tk23/gitlabhq,Kambda/Mobbr,nmav/gitlabhq,htve/GitlabForChinese,Devin001/gitlabhq,Devin001/gitlabhq,NARKOZ/gitlabhq,akumetsuv/gitlab,Soullivaneuh/gitlabhq,phinfonet/mobbr-gitlabhq,tempbottle/gitlabhq,rfeese/gitlab-ce,wangcan2014/gitlabhq,dukex/gitlabhq,theonlydoo/gitlabhq,luzhongyang/gitlabhq,ZeoAlliance/gitlabhq,axilleas/gitlabhq,fscherwi/gitlabhq,mavimo/gitlabhq,8thcolor/rubyconfau2015-sadr,Keystion/gitlabhq,Soullivaneuh/gitlabhq,mente/gitlabhq,michaKFromParis/gitlabhq,szechyjs/gitlabhq,manfer/gitlabhq,8thcolor/eurucamp2014-htdsadr,martinma4/gitlabhq,szechyjs/gitlabhq,tk23/gitlabhq,Telekom-PD/gitlabhq,delkyd/gitlabhq,rumpelsepp/gitlabhq,tempbottle/gitlabhq,jirutka/gitlabhq,liyakun/gitlabhq,larryli/gitlabhq,Razer6/gitlabhq,dvrylc/gitlabhq,whluwit/gitlabhq,fearenales/gitlabhq,lvfeng1130/gitlabhq,yulchitaj/TEST3,NARKOZ/gitlabhq,CodeCantor/gitlabhq,tk23/gitlabhq,OtkurBiz/gitlabhq,ayufan/gitlabhq,fantasywind/gitlabhq,H3Chief/gitlabhq,sekcheong/gitlabhq,salipro4ever/gitlabhq,mmkassem/gitlabhq,chenrui2014/gitlabhq,nguyen-tien-mulodo/gitlabhq,openwide-java/gitlabhq,stanhu/gitlabhq,rhels/gitlabhq,cui-liqiang/gitlab-ce,TheWatcher/gitlabhq,8thcolor/eurucamp2014-htdsadr,fpgentil/gitlabhq,jrjang/gitlab-ce,koreamic/gitlabhq,delkyd/gitlabhq,ordiychen/gitlabhq,stanhu/gitlabhq,jirutka/gitlabhq,CodeCantor/gitlabhq,adaiguoguo/gitlab_globalserarch,yulchitaj/TEST3,youprofit/gitlabhq,ikappas/gitlabhq,since2014/gitlabhq,ferdinandrosario/gitlabhq,fscherwi/gitlabhq,8thcolor/testing-public-gitlabhq,allistera/gitlabhq,stoplightio/gitlabhq,SkyWei/gitlabhq,OtkurBiz/gitlabhq,darkrasid/gitlabhq,jrjang/gitlabhq,LytayTOUCH/gitlabhq,CodeCantor/gitlabhq,LytayTOUCH/gitlabhq,mr-dxdy/gitlabhq,daiyu/gitlab-zh,Razer6/gitlabhq,achako/gitlabhq,kemenaran/gitlabhq,LytayTOUCH/gitlabhq,per-garden/gitlabhq,cinderblock/gitlabhq,sonalkr132/gitlabhq,theodi/gitlabhq,chadyred/gitlabhq,sonalkr132/gitlabhq,sakishum/gitlabhq,pkgr/gitlabhq,michaKFromParis/sparkslab,icedwater/gitlabhq,123Haynes/gitlabhq,martijnvermaat/gitlabhq,whluwit/gitlabhq,ksoichiro/gitlabhq,kotaro-dev/gitlab-6-9,jirutka/gitlabhq,0x20h/gitlabhq,pupaxxo/gitlabhq,michaKFromParis/gitlabhq,julianengel/gitlabhq,Datacom/gitlabhq,bozaro/gitlabhq,phinfonet/mobbr-gitlabhq,jvanbaarsen/gitlabhq,mrb/gitlabhq,yatish27/gitlabhq,dvrylc/gitlabhq,cncodog/gitlab,ikappas/gitlabhq,michaKFromParis/gitlabhqold,julianengel/gitlabhq,tim-hoff/gitlabhq,ibiart/gitlabhq,theodi/gitlabhq,koreamic/gitlabhq,since2014/gitlabhq,Kambda/Mobbr,OtkurBiz/gitlabhq,openwide-java/gitlabhq,nmav/gitlabhq,eliasp/gitlabhq,louahola/gitlabhq,dvrylc/gitlabhq,hacsoc/gitlabhq,Soullivaneuh/gitlabhq,daiyu/gitlab-zh,betabot7/gitlabhq,larryli/gitlabhq,eliasp/gitlabhq,wangcan2014/gitlabhq,martijnvermaat/gitlabhq,yama07/gitlabhq,per-garden/gitlabhq,martijnvermaat/gitlabhq,rhels/gitlabhq,delkyd/gitlabhq,rhels/gitlabhq,gopeter/gitlabhq,riyad/gitlabhq,youprofit/gitlabhq,ibiart/gitlabhq,bozaro/gitlabhq,ikappas/gitlabhq,bigsurge/gitlabhq,louahola/gitlabhq,Tyrael/gitlabhq,zrbsprite/gitlabhq,jrjang/gitlab-ce,cinderblock/gitlabhq,lvfeng1130/gitlabhq,akumetsuv/gitlab,pkgr/gitlabhq,yatish27/gitlabhq,michaKFromParis/gitlabhqold,jairzh/gitlabhq-sfdc,pulkit21/gitlabhq,duduribeiro/gitlabhq,manfer/gitlabhq,stanhu/gitlabhq,NKMR6194/gitlabhq,yonglehou/gitlabhq,yonglehou/gitlabhq,manfer/gitlabhq,bladealslayer/gitlabhq,Kambda/mobbr-gitlabhq,t-zuehlsdorff/gitlabhq,hq804116393/gitlabhq,bbodenmiller/gitlabhq,rfeese/gitlab-ce,bbodenmiller/gitlabhq,cui-liqiang/gitlab-ce,bladealslayer/gitlabhq,LUMC/gitlabhq,shinexiao/gitlabhq,shinexiao/gitlabhq,Tyrael/gitlabhq,aaronsnyder/gitlabhq,copystudy/gitlabhq,jairzh/gitlabhq-sfdc,initiummedia/gitlabhq,zBMNForks/gitlabhq,fpgentil/gitlabhq,yfaizal/gitlabhq,cncodog/gitlab,pkallberg/tjenare,betabot7/gitlabhq,yuyue2013/ss,duduribeiro/gitlabhq,ayufan/gitlabhq,flashbuckets/gitlabhq,michaKFromParis/gitlabhq,jrjang/gitlab-ce,hq804116393/gitlabhq,gorgee/gitlabhq,kemenaran/gitlabhq,revaret/gitlabhq,sonalkr132/gitlabhq,yulchitaj/TEST3,dplarson/gitlabhq,dvrylc/gitlabhq,axilleas/gitlabhq,lbt/gitlabhq,ArthurHoaro/Public-GitLab,k4zzk/gitlabhq,aaronsnyder/gitlabhq,mathstuf/gitlabhq,zBMNForks/gitlabhq,bbodenmiller/gitlabhq,123Haynes/gitlabhq,rfeese/gitlab-ce,gorgee/gitlabhq,dreampet/gitlab,chenrui2014/gitlabhq,fscherwi/gitlabhq,julianengel/gitlabhq,kitech/gitlabhq,folpindo/gitlabhq,mente/gitlabhq,initiummedia/gitlabhq,Burick/gitlabhq,icedwater/gitlabhq,it33/gitlabhq,theonlydoo/gitlabhq,LUMC/gitlabhq,xuvw/gitlabhq,NKMR6194/gitlabhq,ksoichiro/gitlabhq,eliasp/gitlabhq,chadyred/gitlabhq,revaret/gitlabhq,zrbsprite/gitlabhq,stoplightio/gitlabhq,allistera/gitlabhq,kitech/gitlabhq,Burick/gitlabhq,1ed/gitlabhq,ngpestelos/gitlabhq,johnmyqin/gitlabhq,cncodog/gitlab,joalmeid/gitlabhq,achako/gitlabhq,0x20h/gitlabhq,michaKFromParis/gitlabhq,fantasywind/gitlabhq,pulkit21/gitlabhq,kotaro-dev/gitlab-6-9,dukex/gitlabhq,hacsoc/gitlabhq,jairzh/gitlabhq-sfdc,hacsoc/gitlabhq,allistera/gitlabhq,duduribeiro/gitlabhq,dyon/gitlab,tk23/gitlabhq,stellamiranda/mobbr-gitlabhq,ZeoAlliance/gitlabhq,lbt/gitlabhq,martinma4/gitlabhq,sideci-sample/sideci-sample-gitlabhq,fendoudeqingchunhh/gitlabhq,fendoudeqingchunhh/gitlabhq,windymid/test2,since2014/gitlabhq,inetfuture/gitlab-tweak,sekcheong/gitlabhq,fgbreel/gitlabhq,DanielZhangQingLong/gitlabhq,Datacom/gitlabhq,mente/gitlabhq,mavimo/gitlabhq,SVArago/gitlabhq,allysonbarros/gitlabhq,hq804116393/gitlabhq,jaepyoung/gitlabhq,yatish27/gitlabhq,kemenaran/gitlabhq,ArthurHoaro/Public-GitLab,chadyred/gitlabhq,sakishum/gitlabhq,SVArago/gitlabhq,bbodenmiller/gitlabhq,fgbreel/gitlabhq,NARKOZ/gitlabhq,mente/gitlabhq,fgbreel/gitlabhq,LUMC/gitlabhq,fpgentil/gitlabhq,inetfuture/gitlab-tweak,atomaka/gitlabhq,LUMC/gitlabhq,yfaizal/gitlabhq,icedwater/gitlabhq,dwrensha/gitlabhq,theonlydoo/gitlabhq,8thcolor/testing-public-gitlabhq,whluwit/gitlabhq,k4zzk/gitlabhq,dreampet/gitlab,mrb/gitlabhq,yama07/gitlabhq,pulkit21/gitlabhq,Exeia/gitlabhq,NuLL3rr0r/gitlabhq,nuecho/gitlabhq,nuecho/gitlabhq,fearenales/gitlabhq,jvanbaarsen/gitlabhq,darkrasid/gitlabhq,TheWatcher/gitlabhq,mmkassem/gitlabhq,neiljbrookes/glab,since2014/gitlabhq,iiet/iiet-git,dyon/gitlab,mathstuf/gitlabhq,TheWatcher/gitlabhq,NuLL3rr0r/gitlabhq,pjknkda/gitlabhq,gorgee/gitlabhq,achako/gitlabhq,fantasywind/gitlabhq,manfer/gitlabhq,adaiguoguo/gitlab_globalserarch,jrjang/gitlabhq,Datacom/gitlabhq,it33/gitlabhq,pjknkda/gitlabhq,screenpages/gitlabhq,dwrensha/gitlabhq,hq804116393/gitlabhq,neiljbrookes/glab,Telekom-PD/gitlabhq,flashbuckets/gitlabhq,shinexiao/gitlabhq,pjknkda/gitlabhq,youprofit/gitlabhq,vjustov/gitlabhq,riyad/gitlabhq,tempbottle/gitlabhq,nmav/gitlabhq,ikappas/gitlabhq,sideci-sample/sideci-sample-gitlabhq,TheWatcher/gitlabhq,123Haynes/gitlabhq,akumetsuv/gitlab,gorgee/gitlabhq,delkyd/gitlabhq,aaronsnyder/gitlabhq,pjknkda/gitlabhq,pupaxxo/gitlabhq,ordiychen/gitlabhq,rumpelsepp/gitlabhq,fendoudeqingchunhh/gitlabhq,windymid/test2,Devin001/gitlabhq,sekcheong/gitlabhq,initiummedia/gitlabhq,axilleas/gitlabhq,SkyWei/gitlabhq,bigsurge/gitlabhq,screenpages/gitlabhq,Burick/gitlabhq,icedwater/gitlabhq,luzhongyang/gitlabhq,Razer6/gitlabhq,ngpestelos/gitlabhq,ttasanen/gitlabhq,flashbuckets/gitlabhq,williamherry/gitlabhq,SkyWei/gitlabhq,koreamic/gitlabhq,yuyue2013/ss,chenrui2014/gitlabhq,per-garden/gitlabhq,liyakun/gitlabhq,riyad/gitlabhq,jaepyoung/gitlabhq,dplarson/gitlabhq,louahola/gitlabhq,zrbsprite/gitlabhq,Datacom/gitlabhq,sue445/gitlabhq,yuyue2013/ss,michaKFromParis/gitlabhqold,cinderblock/gitlabhq,iiet/iiet-git,Exeia/gitlabhq,hzy001/gitlabhq,betabot7/gitlabhq,atomaka/gitlabhq,lbt/gitlabhq,ordiychen/gitlabhq,vjustov/gitlabhq,folpindo/gitlabhq,Keystion/gitlabhq,wangcan2014/gitlabhq,bigsurge/gitlabhq,NKMR6194/gitlabhq,OlegGirko/gitlab-ce,mathstuf/gitlabhq,OlegGirko/gitlab-ce,allistera/gitlabhq,Kambda/mobbr-gitlabhq,it33/gitlabhq,OtkurBiz/gitlabhq,hzy001/gitlabhq,dreampet/gitlab,fendoudeqingchunhh/gitlabhq,t-zuehlsdorff/gitlabhq,k4zzk/gitlabhq,duduribeiro/gitlabhq,dyon/gitlab,chrrrles/nodeflab,jrjang/gitlabhq,ferdinandrosario/gitlabhq,eliasp/gitlabhq,mavimo/gitlabhq,martinma4/gitlabhq,yatish27/gitlabhq,johnmyqin/gitlabhq,rebecamendez/gitlabhq,mr-dxdy/gitlabhq,folpindo/gitlabhq,Exeia/gitlabhq,ayufan/gitlabhq,DanielZhangQingLong/gitlabhq,bozaro/gitlabhq,copystudy/gitlabhq,OlegGirko/gitlab-ce,whluwit/gitlabhq,youprofit/gitlabhq,louahola/gitlabhq,iiet/iiet-git,mavimo/gitlabhq,pkallberg/tjenare,theonlydoo/gitlabhq,sideci-sample/sideci-sample-gitlabhq,ArthurHoaro/Public-GitLab,Exeia/gitlabhq,chrrrles/nodeflab,tim-hoff/gitlabhq,sakishum/gitlabhq,vjustov/gitlabhq,dukex/gitlabhq,sakishum/gitlabhq,xuvw/gitlabhq,pkallberg/tjenare,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,Telekom-PD/gitlabhq,ngpestelos/gitlabhq,fearenales/gitlabhq,Tyrael/gitlabhq,goeun/myRepo,rumpelsepp/gitlabhq,tempbottle/gitlabhq,williamherry/gitlabhq,SVArago/gitlabhq,michaKFromParis/sparkslab,MauriceMohlek/gitlabhq,kitech/gitlabhq,ttasanen/gitlabhq,szechyjs/gitlabhq,johnmyqin/gitlabhq,theodi/gitlabhq,ayufan/gitlabhq,nmav/gitlabhq,MauriceMohlek/gitlabhq,luzhongyang/gitlabhq,allysonbarros/gitlabhq,htve/GitlabForChinese,vjustov/gitlabhq,adaiguoguo/gitlab_globalserarch,dreampet/gitlab,mmkassem/gitlabhq,yama07/gitlabhq,chrrrles/nodeflab,WSDC-NITWarangal/gitlabhq,williamherry/gitlabhq,htve/GitlabForChinese,zBMNForks/gitlabhq,sue445/gitlabhq,chenrui2014/gitlabhq,jaepyoung/gitlabhq,DanielZhangQingLong/gitlabhq,openwide-java/gitlabhq,childbamboo/gitlabhq,screenpages/gitlabhq,adaiguoguo/gitlab_globalserarch,NARKOZ/gitlabhq,fantasywind/gitlabhq,sue445/gitlabhq,sekcheong/gitlabhq,hzy001/gitlabhq,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,kemenaran/gitlabhq,yama07/gitlabhq,SkyWei/gitlabhq,childbamboo/gitlabhq,jvanbaarsen/gitlabhq,nguyen-tien-mulodo/gitlabhq,tim-hoff/gitlabhq,ngpestelos/gitlabhq,WSDC-NITWarangal/gitlabhq,lvfeng1130/gitlabhq,salipro4ever/gitlabhq,jrjang/gitlabhq,Burick/gitlabhq,kotaro-dev/gitlab-6-9,iiet/iiet-git,inetfuture/gitlab-tweak,stellamiranda/mobbr-gitlabhq,kitech/gitlabhq,theodi/gitlabhq,daiyu/gitlab-zh,MauriceMohlek/gitlabhq,dplarson/gitlabhq,flashbuckets/gitlabhq,darkrasid/gitlabhq