CB-6615 Fix plugin check error, when plugin dependency with specific version is given

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