fixed regression in --set as a workaround for broken getopt_long