ci: Fix parse GitLab pipeline url
When the namespace have a dash, this method cannot recogniza properly the fields in a url. Better to use a regular expression quickly defining the fields. The exception raised, when the pattern is not recognized would help more the handler.