Properly reset plugins
Summary: This patch fixes a small regression of commit 727ce79c81.
Test Plan: Run alternativesmodeltest before/after the patch.
Reviewers: apol
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D13343