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)