version.py: remote repo fix for http remotes
version.py: remote repo fix for http remotes

We check out theme repos using a git HTTP url (git://) instead of git
ssh url (git@).  To make the version script work we need to generalize
the regexp used to parse out the remotes.  This was causing errors.

To test I just tried this out in a REPL, see below:

    In [15]: for line in lines:
        print line
       ....:
    origingit@github.com:edx/edx-platform.git (fetch)
    origingit@github.com:edx/edx-platformrm.git (push)
    origingit://github.com/Stanford-Online/edx-theme.git (fetchtch)
    origingit://github.com/Stanford-Online/edx-theme.git (push)

    In [In16]: for line in lines:
       ....:     if ' (fetch)' in line:
       ....:         repo_url = re.search(
       ....:         '(git@|git://)(.*) \(fetch\)', line).group(2).replace(
       ....:         ':', '/')
       ....:         print repo_url
       ....:
    github.com/edx/edx-platform.git
    github.com/Stanford-Online/edx-theme.git

zhengjunwei/configuration,pdehaye/theming-configuration,armaan/edx-configuration,joshhu/configuration,kursitet/configuration,armaan/edx-configuration,appsembler/configuration,fghaas/edx-configuration,fghaas/edx-configuration,hmcmooc/ec2-edx-configuration,pdehaye/theming-configuration,EDUlib/configuration,Softmotions/configuration,chenshuchuan/configuration,hastexo/edx-configuration,chudaol/configuration,omarkhan/configuration,open-craft/configuration,jorgeomarmh/configuration,antoviaque/configuration,open-craft/configuration,pobrejuanito/configuration,chudaol/configuration,michaelsteiner19/open-edx-configuration,mitodl/configuration,edx/configuration,cyanna/configuration,beacloudgenius/configuration,chenshuchuan/configuration,sudheerchintala/LearnEra-Configuration,rue89-tech/configuration,arifsetiawan/configuration,eduStack/configuration,alu042/configuration,apigee/edx-configuration,antshin72/configuration,arifsetiawan/configuration,Pieros/configuration,vasyarv/configuration,antshin72/configuration,Livit/Livit.Learn.EdX.configuration,appsembler/configuration,leansoft/configuration,proversity-org/configuration,glengal/configuration,bugcy013/edx_infra,edx/configuration,Carlos2005/configuration,open-craft/configuration,apigee/edx-configuration,AlfiyaZi/configuration,kmoocdev/configuration,open-craft/configuration,jorgeomarmh/configuration,nikolas/configuration,cyanna/configuration,EDUlib/configuration,stvstnfrd/configuration,zhengjunwei/configuration,kencung/configuration,negritobomb/edxplat,fghaas/edx-configuration,AlfiyaZi/configuration,gashac03/ubuntu,bugcy013/edx_infra,marcore/configuration,UXE/edx-configuration,bugcy013/edx_infra,edx/configuration,alu042/configuration,omarkhan/configuration,hastexo/edx-configuration,pedrorib/istx,CredoReference/configuration,stvstnfrd/configuration,IONISx/edx-configuration,jp-bpl/configuration,leansoft/configuration,lgfa29/configuration,arbrandes/edx-configuration,hks-epod/configuration,Unow/configuration,gsehub/configuration,hastexo/edx-configuration,kencung/configuration,arbrandes/edx-configuration,Carlos2005/configuration,bugcy013/edx_infra,AlfiyaZi/configuration,cecep-edu/configuration,antshin72/configuration,Carlos2005/configuration,lgfa29/configuration,cecep-edu/configuration,sudheerchintala/LearnEra-Configuration,gsehub/configuration,knehez/configuration,jp-bpl/configuration,xiangjf/configuration,fghaas/edx-configuration,Stanford-Online/configuration,rue89-tech/configuration,xiangjf/configuration,marcore/configuration,michaelsteiner19/open-edx-configuration,edx/configuration,kencung/configuration,ovnicraft/evex-configuration,UXE/edx-configuration,openfun/configuration,gashac03/ubuntu,xiangjf/configuration,AlfiyaZi/configuration,Stanford-Online/configuration,Stanford-Online/configuration,lgfa29/configuration,jorgeomarmh/configuration,stvstnfrd/configuration,Pieros/configuration,kursitet/configuration,hks-epod/configuration,hastexo/edx-configuration-old,yrchen/configuration,negritobomb/edxplat,cecep-edu/configuration,negritobomb/edxplat,4eek/configuration,Pieros/configuration,lgfa29/configuration,LearnEra/LearnEra-Configuration,mitodl/configuration,gashac03/ubuntu,IndonesiaX/configuration,CredoReference/configuration,4eek/configuration,vasyarv/configuration,chudaol/configuration,LearnEra/LearnEra-Configuration,Livit/Livit.Learn.EdX.configuration,EDUlib/configuration,yrchen/configuration,stvstnfrd/configuration,arbrandes/edx-configuration,IndonesiaX/configuration,nttks/configuration,louyihua/configuration,glengal/configuration,4eek/configuration,EDUlib/configuration,openfun/configuration,usernamenumber/configuration,marcore/configuration,IONISx/edx-configuration,Unow/configuration,proversity-org/configuration,EDUlib/configuration,yrchen/configuration,IONISx/edx-configuration,antshin72/configuration,Softmotions/configuration,arbrandes/edx-configuration,kmoocdev/configuration,gsehub/configuration,IndonesiaX/configuration,glengal/configuration,zhengjunwei/configuration,usernamenumber/configuration,knehez/configuration,zhengjunwei/configuration,nttks/configuration,kencung/configuration,hmcmooc/ec2-edx-configuration,ovnicraft/evex-configuration,alu042/configuration,jp-bpl/configuration,gsehub/configuration,nunpa/configuration,knehez/configuration,nikolas/configuration,pobrejuanito/configuration,arifsetiawan/configuration,pdehaye/theming-configuration,joshhu/configuration,negritobomb/edxplat,Softmotions/configuration,proversity-org/configuration,yrchen/configuration,nttks/configuration,usernamenumber/configuration,armaan/edx-configuration,proversity-org/configuration,vasyarv/configuration,knehez/configuration,hmcmooc/ec2-edx-configuration,apigee/edx-configuration,beacloudgenius/configuration,jp-bpl/configuration,kursitet/configuration,louyihua/configuration,arifsetiawan/configuration,nunpa/configuration,hastexo/edx-configuration,Livit/Livit.Learn.EdX.configuration,jp-bpl/configuration,chenshuchuan/configuration,hks-epod/configuration,IONISx/edx-configuration,pobrejuanito/configuration,CredoReference/configuration,antoviaque/configuration,hastexo/edx-configuration-old,pobrejuanito/configuration,gashac03/ubuntu,nikolas/configuration,CredoReference/configuration,arbrandes/edx-configuration,nunpa/configuration,IndonesiaX/configuration,marcore/configuration,cyanna/configuration,kmoocdev/configuration,kmoocdev/configuration,omarkhan/configuration,armaan/edx-configuration,louyihua/configuration,michaelsteiner19/open-edx-configuration,rue89-tech/configuration,nikolas/configuration,ovnicraft/evex-configuration,openfun/configuration,hks-epod/configuration,pedrorib/istx,Carlos2005/configuration,cyanna/configuration,Stanford-Online/configuration,beacloudgenius/configuration,leansoft/configuration,hastexo/edx-configuration-old,Softmotions/configuration,B-MOOC/configuration,B-MOOC/configuration,rue89-tech/configuration,UXE/edx-configuration,appsembler/configuration,hastexo/edx-configuration-old,nunpa/configuration,gsehub/configuration,jorgeomarmh/configuration,chudaol/configuration,glengal/configuration,louyihua/configuration,4eek/configuration,hks-epod/configuration,rue89-tech/configuration,nttks/configuration,proversity-org/configuration,mitodl/configuration,kursitet/configuration,openfun/configuration,Stanford-Online/configuration,vasyarv/configuration,xiangjf/configuration,usernamenumber/configuration,joshhu/configuration,appsembler/configuration,Livit/Livit.Learn.EdX.configuration,sudheerchintala/LearnEra-Configuration,beacloudgenius/configuration,pedrorib/istx,leansoft/configuration,eduStack/configuration,antoviaque/configuration,michaelsteiner19/open-edx-configuration,eduStack/configuration,pedrorib/istx,antoviaque/configuration,mitodl/configuration,hastexo/edx-configuration,omarkhan/configuration,UXE/edx-configuration,Unow/configuration,B-MOOC/configuration,stvstnfrd/configuration,joshhu/configuration,LearnEra/LearnEra-Configuration,alu042/configuration,Pieros/configuration