The fix is to load config factory once again, to avoid looking for stale scoped global variables. For example ``mcCustomConfigDir`` Fixes #1611