[libvirt] [PULL 7/9] bootdevice: Refactor get_boot_devices_list