Fix hacking.py git checks to propagate errors
Fix hacking.py git checks to propagate errors

Now when N801 or N802 is hit tools/hacking.py will return -1.

Fix bug 1039697

Change-Id: I9f6950a4396ae82861e5de0e4f3ba8b482c4fdf8

tianweizhang/nova,edulramirez/nova,NeCTAR-RC/nova,devoid/nova,Yusuke1987/openstack_template,zaina/nova,spring-week-topos/nova-week,belmiromoreira/nova,CiscoSystems/nova,shahar-stratoscale/nova,thomasem/nova,MountainWei/nova,varunarya10/nova_test_latest,dawnpower/nova,CEG-FYP-OpenStack/scheduler,tianweizhang/nova,devendermishrajio/nova,ted-gould/nova,ruslanloman/nova,belmiromoreira/nova,cernops/nova,zhimin711/nova,vmturbo/nova,maoy/zknova,dawnpower/nova,petrutlucian94/nova_dev,badock/nova,viggates/nova,vladikr/nova_drafts,JioCloud/nova,imsplitbit/nova,DirectXMan12/nova-hacking,blueboxgroup/nova,mandeepdhami/nova,sridevikoushik31/openstack,TieWei/nova,virtualopensystems/nova,ntt-sic/nova,rahulunair/nova,watonyweng/nova,eonpatapon/nova,phenoxim/nova,openstack/nova,jianghuaw/nova,sridevikoushik31/nova,BeyondTheClouds/nova,devendermishrajio/nova_test_latest,sridevikoushik31/nova,badock/nova,Tehsmash/nova,klmitch/nova,saleemjaveds/https-github.com-openstack-nova,devoid/nova,bgxavier/nova,noironetworks/nova,DirectXMan12/nova-hacking,sebrandon1/nova,orbitfp7/nova,dstroppa/openstack-smartos-nova-grizzly,mgagne/nova,maheshp/novatest,fajoy/nova,aristanetworks/arista-ovs-nova,CloudServer/nova,imsplitbit/nova,Yuriy-Leonov/nova,akash1808/nova_test_latest,maelnor/nova,takeshineshiro/nova,isyippee/nova,yatinkumbhare/openstack-nova,CEG-FYP-OpenStack/scheduler,vmturbo/nova,klmitch/nova,hanlind/nova,affo/nova,MountainWei/nova,eonpatapon/nova,bclau/nova,whitepages/nova,ntt-sic/nova,dims/nova,paulmathews/nova,CCI-MOC/nova,JianyuWang/nova,mahak/nova,alvarolopez/nova,leilihh/nova,spring-week-topos/nova-week,kimjaejoong/nova,Metaswitch/calico-nova,houshengbo/nova_vmware_compute_driver,vladikr/nova_drafts,cloudbau/nova,devendermishrajio/nova,jianghuaw/nova,barnsnake351/nova,bigswitch/nova,mgagne/nova,eayunstack/nova,Triv90/Nova,alvarolopez/nova,savi-dev/nova,cloudbase/nova,openstack/nova,felixma/nova,savi-dev/nova,tangfeixiong/nova,saleemjaveds/https-github.com-openstack-nova,mandeepdhami/nova,sridevikoushik31/nova,Juniper/nova,ewindisch/nova,fnordahl/nova,hanlind/nova,silenceli/nova,cloudbase/nova,yrobla/nova,Tehsmash/nova,tealover/nova,jianghuaw/nova,Yusuke1987/openstack_template,rajalokan/nova,jianghuaw/nova,kimjaejoong/nova,CloudServer/nova,angdraug/nova,dstroppa/openstack-smartos-nova-grizzly,eharney/nova,leilihh/novaha,bclau/nova,OpenAcademy-OpenStack/nova-scheduler,yosshy/nova,ewindisch/nova,cyx1231st/nova,phenoxim/nova,gooddata/openstack-nova,rrader/nova-docker-plugin,sacharya/nova,cloudbase/nova,openstack/nova,hanlind/nova,petrutlucian94/nova,dims/nova,maheshp/novatest,cernops/nova,rickerc/nova_audit,silenceli/nova,dstroppa/openstack-smartos-nova-grizzly,tanglei528/nova,TieWei/nova,Triv90/Nova,zzicewind/nova,qwefi/nova,mahak/nova,plumgrid/plumgrid-nova,citrix-openstack-build/nova,gooddata/openstack-nova,raildo/nova,maheshp/novatest,CiscoSystems/nova,double12gzh/nova,sridevikoushik31/nova,OpenAcademy-OpenStack/nova-scheduler,barnsnake351/nova,gooddata/openstack-nova,eharney/nova,usc-isi/nova,mmnelemane/nova,houshengbo/nova_vmware_compute_driver,cyx1231st/nova,petrutlucian94/nova_dev,angdraug/nova,rahulunair/nova,yrobla/nova,orbitfp7/nova,watonyweng/nova,bgxavier/nova,shootstar/novatest,luogangyi/bcec-nova,paulmathews/nova,JioCloud/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,double12gzh/nova,fajoy/nova,devendermishrajio/nova_test_latest,citrix-openstack-build/nova,JioCloud/nova_test_latest,luogangyi/bcec-nova,SUSE-Cloud/nova,LoHChina/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,akash1808/nova,akash1808/nova,SUSE-Cloud/nova,alexandrucoman/vbox-nova-driver,adelina-t/nova,projectcalico/calico-nova,akash1808/nova_test_latest,fajoy/nova,klmitch/nova,petrutlucian94/nova,apporc/nova,tanglei528/nova,tealover/nova,Juniper/nova,edulramirez/nova,cloudbase/nova-virtualbox,Francis-Liu/animated-broccoli,Triv90/Nova,blueboxgroup/nova,Juniper/nova,TwinkleChawla/nova,rajalokan/nova,viggates/nova,NewpTone/stacklab-nova,joker946/nova,vmturbo/nova,ted-gould/nova,rajalokan/nova,Yuriy-Leonov/nova,takeshineshiro/nova,rickerc/nova_audit,sridevikoushik31/openstack,NewpTone/stacklab-nova,shootstar/novatest,yatinkumbhare/openstack-nova,joker946/nova,iuliat/nova,Juniper/nova,LoHChina/nova,berrange/nova,cloudbau/nova,rrader/nova-docker-plugin,gspilio/nova,mikalstill/nova,mahak/nova,noironetworks/nova,thomasem/nova,fnordahl/nova,mikalstill/nova,DirectXMan12/nova-hacking,rahulunair/nova,j-carpentier/nova,leilihh/nova,felixma/nova,vmturbo/nova,usc-isi/nova,redhat-openstack/nova,sacharya/nova,jeffrey4l/nova,tangfeixiong/nova,affo/nova,Stavitsky/nova,jeffrey4l/nova,maoy/zknova,redhat-openstack/nova,savi-dev/nova,shail2810/nova,scripnichenko/nova,alaski/nova,sebrandon1/nova,whitepages/nova,shail2810/nova,tudorvio/nova,zaina/nova,BeyondTheClouds/nova,j-carpentier/nova,NeCTAR-RC/nova,raildo/nova,iuliat/nova,varunarya10/nova_test_latest,nikesh-mahalka/nova,tudorvio/nova,gspilio/nova,JianyuWang/nova,berrange/nova,Francis-Liu/animated-broccoli,yrobla/nova,projectcalico/calico-nova,adelina-t/nova,maelnor/nova,alaski/nova,BeyondTheClouds/nova,sridevikoushik31/openstack,cloudbase/nova-virtualbox,gspilio/nova,mmnelemane/nova,apporc/nova,isyippee/nova,cernops/nova,bigswitch/nova,maoy/zknova,scripnichenko/nova,usc-isi/nova,shahar-stratoscale/nova,eayunstack/nova,alexandrucoman/vbox-nova-driver,zzicewind/nova,Metaswitch/calico-nova,aristanetworks/arista-ovs-nova,mikalstill/nova,yosshy/nova,qwefi/nova,Stavitsky/nova,nikesh-mahalka/nova,ruslanloman/nova,virtualopensystems/nova,gooddata/openstack-nova,houshengbo/nova_vmware_compute_driver,paulmathews/nova,aristanetworks/arista-ovs-nova,JioCloud/nova_test_latest,TwinkleChawla/nova,plumgrid/plumgrid-nova,sebrandon1/nova,klmitch/nova,rajalokan/nova,zhimin711/nova,NewpTone/stacklab-nova,leilihh/novaha,CCI-MOC/nova