Fix #2836. Ensure proper handling of option "system=yes" in module "group".