Don't crash if the fwupd error is null
I got a difficult-to-reproduce crash, which pointed at the fact that
this error can, at times, be null. Without the validity check this
patch introduces, we then attempted to deref that null pointer, and
crashed.
Differential Revision: https://phabricator.kde.org/D19561