jobd/update.sh: Fix ref-change for set -e