contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()