Simplify version.sh script

The else branch is not needed - and the variable name in it is
misspelled anyway ;)