Only configure Sentry if configuration exists

This prevents Rails from failing on startup if a Sentry URL
hasn't been configured.