Replace some for loops with ranges
Continue streaming buildpacks when there is more than one page of results

[finishes #60133358]