Avoid trailing slash on registry/iss URL