Fix RIPPLE-61: search for locally installed cordova before expecting to find it globally installed

See the issue in JIRA: https://issues.apache.org/jira/browse/RIPPLE-61