handle list or string for yaml_facts_path