dont loop over empty arrays for upstream config sync
dont loop over empty arrays for upstream config sync

rancher/rancher#28994

rancherio/ui,vincent99/ui,rancherio/ui,vincent99/ui,westlywright/ui,rancher/ui,vincent99/ui,rancherio/ui,rancher/ui,westlywright/ui,westlywright/ui,rancher/ui