Fix regex cleaning up repo URLs, fixes #5686
Fix regex cleaning up repo URLs, fixes #5686

hirak/composer,slbmeh/composer,yaman-jain/composer,fabpot/composer,till/composer,stefangr/composer,localheinz/composer,MoT3rror/composer,fabiang/composer,naderman/composer,balbuf/composer,nicolas-grekas/composer,pierredup/composer,andrerom/composer,jreinke/composer,composer/composer,floverdevel/composer,staabm/composer,erasys/composer,remicollet/composer,johnstevenson/composer,vdm-io/composer,dzuelke/composer,gencer/composer,milleruk/composer,stof/composer,alcohol/composer,curry684/composer,SpacePossum/composer