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

https://issues.apache.org/jira/browse/CB-6615
This is instead of https://github.com/apache/cordova-plugman/pull/76