exclude specific path when generating Software Heritage objects
Since `swh-scanner` needs to implement an exclusion list, when it creates an object from the `Directory` class in `swh.model.from_disk`, it will pass aset of PosixPath to be excluded (this set will be generated from the cli with the `glob` module). The function `from_disk` through the function `ignore_path` will check if the parent of a directory is present in the set.
Related T2336