Handle that jenkins base url ends with a slash