Fix plugin check error, when plugin dependency with specific version is given.