FPackageName::GetLongPackagePath

Returns the path to the specified package, excluding the short package name e.g. given /Game/Maps/MyMap returns /Game/Maps