Fixed crash on exit when the config file does not specify update hosts