Fix crash when loading an empty config file