Ensuring config_viewer_hosts_dir is a string.