Add a package merge routine in create_packagelist.py