Retrieves the parent directory/path of the given path.
The parent path of the given path, or null if the path has no parent.
The path for which the parent directory is to be determined.