rstrip() strips characters, not strings
rstrip() strips characters, not strings

Fixes bug 1155761

This use of rstrip() could end stripping off more than just the ".gz"
suffix if the filename contains any of the ".gz" characters at the end
of the string.

Change-Id: Id75388453f286ca7b05bab51c9826c43c10ef516

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