fix openstack apiurl trimming