title: I can't install cordova plugins
body: <p>I'm trying to add this plugin <a href="https://github.com/MobileAppTracking/phonegap-plugin" rel="nofollow">https://github.com/MobileAppTracking/phonegap-plugin</a> but when I run the command I see this error:</p>
  
  <pre><code> Error during processing of action! Attempting to revert...
  Failed to install 'com.mobileapptracking.matplugin':TypeError: Uh oh!
  Arguments to path.resolve must be strings
      at Object.exports.resolve (path.js:313:15)
      at module.exports.framework.install (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/android.js:106:31)
      at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/action-stack.js:70:25)
      at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:567:20)
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:322:20
      at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
      at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
      at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:574:44
      at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
  TypeError: Uh oh!
  Arguments to path.resolve must be strings
      at Object.exports.resolve (path.js:313:15)
      at module.exports.framework.install (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/android.js:106:31)
      at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/action-stack.js:70:25)
      at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:567:20)
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:322:20
      at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
      at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
      at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:574:44
      at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
  </code></pre>
  
  <p>My node version is v0.10.25<br>
  My npm version is 1.3.10<br>
  My cordova version is 3.6.3-0.2.13</p>