args: Fix incorrect iteration over specified revisions in rebuilder.