Bug 970150

* Fix typo
* Tweak the name check logic so that a valid Rails app name is not rejected.