fix change size while iterating bug
fix change size while iterating bug

cloudbase/cloudbase-init-ci,stefan-caraiman/cloudbase-init-ci,micumatei/cloudbase-init-ci,cmin764/argus-ci,AlexandruTudose/cloudbase-init-ci,PCManticore/argus-ci