Only include sentry when sentry URL is configured

:fork_and_knife: