fix(gen): Handle error when starting generator in a non-empty directory that is not already a cordova project