transport-helper: don't update refs in dry-run