[1.7.x] Improve error message for missing migrations in an app