update-version.sh: fix checking for null string argument