Fixes #6117 - refuse to disable plugin used as dependency