get_package_name function