/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/PathTree.h
Normalize the given PackagePath (/Game/SubDir) by removing a trailing slash if it exists.
static [FName](API\Runtime\Core\UObject\FName) NormalizePackagePath ( [FName](API\Runtime\Core\UObject\FName) In )