[#1038] Fix a bug introduced on this branch, for pre-filling the group in the new-package form.