Add additional validation to push event
Add additional validation to push event

Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>

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