fix make_module_extra in PythonPackage