erldocker_api: rewrite convert_url_parts with a good ol' list comprehension