Fix a bug in the pack::packbuilder suite