Protect against null
Do not crash when a resource is missing.
Use the logger instead of stupidly printing out errors.
Do not crash when a resource is missing. (reverted from commit cb0e5ea375828e4dcc98182ba4755ca817aed9c9)
Put back safe mode with a -D variable to activate it (brp.safe.mode)
Put back safe mode with a -D variable to activate it (brp.safe.mode)