pkg-which: iteration over arguments