Don't remove trailing slashes as it breaks jenkins servers that are not configured on server root