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