I don't want to use a set here, because it looses the order of the plugins, and makes which file we're return in the case of multiple matches inconsistent. Can we de-duplicate a list and maintain order, instead?