[TASK] Compact a loop expression in BackendConfigurationManager

Switch foreach() to single line while().