Fix Checking for Application Scope Migration

In #526 I mistakenly had an undefined exception being rescued which
broke checking that the migration for application scopes has been run.
This commit fixes that mistake.

See also #525 for the original issue.
Merge pull request #527 from jherdman/fix-my-dumbass-mistake

Fix My Dumb-Ass Mistake (#526)
Release version 2.0.1

[ci skip]
Guarantee consistent state when changing config.

This refactoring guarantees the application is not left in an
inconsistent state in case an error is raised during the test run.