prevent naming mistake

These method is borrowed from `rails new`
ref: https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/app_generator.rb#L297