minor fixes in package_module with output file name and arch