Check for device not being null
Summary:
In almost all places we use NetworkManager::findNetworkInterface we
later check for the device is not null, do the same here
BUGS: 393707
Reviewers: Plasma, jgrulich
Reviewed By: jgrulich
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D12716