CB-7347 Improve cordova platform add /path/to handling

split name/path errors