[UDisksDeviceBackend] Avoid multiple lookup
QMap::value() would return a nullptr if there is no such element. It is also perfectly valid to delete a nullptr
Differential Revision: https://phabricator.kde.org/D10658