Python: Is_dir() returns False when called from a path.relative_to(root) result | Heykuki News