Corrected error in _import_yaml_data() implementation