Respect trailing slash in CloudStack URL