Fix pathToPlugin.indexOf is not a function
Fix pathToPlugin.indexOf is not a function

When we try to fetch plugin for Cordova project from github we should not treat it as local plugin.

Icenium/icenium-cli,Icenium/icenium-cli