try to fix function: _get_package_dir()