#1, #3: Added docstring to _get_package_name().