Issue with url concatenation when baseUrl or serviceUrl is empty