send-pack: don't update tracking refs on error