Fix url generation

One last fix for Sentry 6.0.0