fix for components paths with 2 slashes after appending baseUrl with input (making it http://host:port//pentaho/api/…)