fix bad variable reference for version check
Merge pull request #5117 from bparees/jbossews_upgrade

Merged by openshift-bot