Prevent a client crash if the daemon somehow sends invalid data
Prevent a client crash if the daemon somehow sends invalid data

Fixes: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1762617

fwupd/fwupd,vathpela/fwupd,fwupd/fwupd,superm1/fwupd,hughsie/fwupd,vathpela/fwupd,superm1/fwupd,hughsie/fwupd,fwupd/fwupd,hughsie/fwupd,superm1/fwupd,fwupd/fwupd,vathpela/fwupd,vathpela/fwupd,hughsie/fwupd