discover: check config.boot_device before setting a default