Fix wrong availability of profiles and ports.
Summary: Fixed bug where available ports are displayed as unavailable/unplugged and vice versa. It seems that this bug was introduced with D9671.
Reviewers: nicolasfella, broulik, drosca
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D13694