UObjectBaseUtility::GetPackage

Walks up the list of outers until it finds a package directly associated with the object.