[PATCH] new (local) helper: user_path_parent()