Simplify the loop in virCommandRunRegex
Simplify the loop in virCommandRunRegex

Do not check for border iterator values inside the loop,
move the code before/after the loop instead.

andreabolognani/libvirt,eskultety/libvirt,libvirt/libvirt,jardasgit/libvirt,agx/libvirt,eskultety/libvirt,nertpinx/libvirt,agx/libvirt,agx/libvirt,datto/libvirt,jardasgit/libvirt,elmarco/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,libvirt/libvirt,nertpinx/libvirt,elmarco/libvirt,crobinso/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,zippy2/libvirt,datto/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,zippy2/libvirt,elmarco/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,eskultety/libvirt,shugaoye/libvirt,olafhering/libvirt,nertpinx/libvirt,elmarco/libvirt,rlaager/libvirt,eskultety/libvirt,agx/libvirt,olafhering/libvirt,elmarco/libvirt,taget/libvirt,crobinso/libvirt,eskultety/libvirt,datto/libvirt,rlaager/libvirt,datto/libvirt,libvirt/libvirt,jardasgit/libvirt,nertpinx/libvirt,taget/libvirt,datto/libvirt,libvirt/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,andreabolognani/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,shugaoye/libvirt,rlaager/libvirt,taget/libvirt,shugaoye/libvirt,jfehlig/libvirt,zippy2/libvirt,taget/libvirt,fabianfreyer/libvirt,zippy2/libvirt,agx/libvirt,jardasgit/libvirt,rlaager/libvirt,shugaoye/libvirt,jardasgit/libvirt,rlaager/libvirt,fabianfreyer/libvirt,olafhering/libvirt,taget/libvirt,andreabolognani/libvirt