Additional error handling for `cordova platform list`