Fix bug when deploying to Heroku

Probably shouldn't raise exceptions when things aren't configured