package loader: Add missing filtering on redundant built revisions
To avoid this kind of issues.
Detected by the opam loader (staging) [2] but this could happen on other package loader implementations.
Migrated from T3469 (view on Phabricator)
Edited by Phabricator Migration user