Only try to load settings, when db already migrated
Merge branch 'fix-inital-migration'