When an application doesn't exist, trigger a warning instead of an exception
Fixing application context