Added back regression from https://github.com/dangeross/generator-cordova/commit/a46d45c1c0b568577e6f98a23c01c96ca01e50bf