Fix detection of gitlab URLs, fixes #8402, closes #8868
Fix detection of gitlab URLs, fixes #8402, closes #8868

pierredup/composer,staabm/composer,localheinz/composer,naderman/composer,fabpot/composer,composer/composer,nicolas-grekas/composer,milleruk/composer,alcohol/composer,johnstevenson/composer,floverdevel/composer,stefangr/composer,stof/composer