tg.sh: make needs_update return 1 for out-of-date remote