Correct utils.execute() to check 0 in check_exit_code
Correct utils.execute() to check 0 in check_exit_code

If a process exits with returncode 0, the function always returns without
raising a exception, regardless of whether its check_exit_code includes 0 or
not. This patch fixes it; if check_exit_code does not includes 0 and a
process exits with 0, ProcessExecutionError is raised.

(No change required to caller-side since no one misses 0 in check_exit_code)

Change-Id: I824a9bc5e42038e27df6757cd47c06073681c342

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