[utils] Fix urljoin for paths with non-http(s) schemes