How to get ParentPackageName of a level in Python?