Do you have an example where directory['path'] would be set but the provider itself would not be a directory?