jobd/update.sh: Fix ref-change line, $ref at the end