ICSHWI-9676 Use urlsplit instead of custom regex_replace
There was some escaping problem with the regex that only showed up
during live ansible runs; molecule did not complain at all.
Even though we could just remove the escaping since it is not really necessary
it is still better to use the urlsplit
filter that is a dedicated URL
manipulating function.