Updated get_host_list API to take in accout changes in return values for varnish_enabled fact.