[sentry] Convert to valid format the URI