fix ModuleInfo foreach

- break only stops inner loop but continues
  iteration if there are multiple SectionGroups