Wait for device to appear in build_ami_from_rootfs