Refactor Maven package finder to return a collection
Summary
The Maven Package Finder returns a single package record rather than an ActiveRecord::Collection
. Finders should return collections so scopes and additional queries can continue to be appended to the results.
We should refactor the finder to remove .last
from the #execute
methods and move that logic to where it is used.