* [JENKINS-51779] Avoid com.google.common.collect.Iterators.skip. * Reviewers preferred for the new method to be restricted for now. (cherry picked from commit a846c366)