migrate_extrinsic_metadata: guess Debian origins.
This works by guessing the package name from the original_artifact data,
then building origins that would match the package name, then filtering
out origins by checking if the revision can be reached from them.