A path which realpath() can't resolve was skipped with only the "Failed
to resolve" message. Pass it on as given instead, so prepare reports it
like before: "does not start with /dev/" or "does not exist".
prepare looked up /sys/block/<name> by the device path as given, so a
symlink to a whole disk, like /dev/disk/by-id/* or /dev/disk/by-path/*,
was refused as "probably a partition". Resolve each path once at the
start of collect_devices() and use the real device name after that.
One disk can now be given under several names, and the `seen` set meant
to catch duplicates was never filled, so a disk given twice was taken
twice. Fill it with the resolved names.