CB-7846 Fix plugin deletion when dependency plugin does not exist

https://issues.apache.org/jira/browse/CB-7846