Fix typo
Follow up fix for Bug 970150

It turns out that 6400c02 wasn't really working.
The inner `if` clause, `$?` is `0` no matter what the result from
the app name check, so that any app name would fail for Rails.

This fixes that.
Merge pull request #3340 from BanzaiMan/dev/hasari/bz970150

Merged by openshift-bot
Refactor upgrade controller for rerun and analytics support
Fixes
Fixes