fix(cordova): only run prepare if platforms exist
fix(cordova): only run prepare if platforms exist

fixes https://github.com/ionic-team/ionic-cli/issues/3062

driftyco/ionic-cli,driftyco/ionic-cli,driftyco/ionic-cli