detect: Don't fail in /dev/disk/by-id/ doesn't exists

In some case, the /dev/disk/by-id doesn't exist. If such, don't fail.