Prevented 'TypeError: Cannot read property 'enabled' of undefined' error by ensuring that local config is present