solve problem in dev env. when amg_sentry is set only for prod env.
Merge pull request #9 from thunderwolf/master

Exception in dev env when only prod is set