fix checking variable in portgen-deploy-live.sh