package_list: more python fixes