Maintain remote worktrees correctly when building updates

This accidentally regressed in 53327e2.
410ee124afAntonio Scandurra committed on 3/3/2022, 3:13:17 PMparentc613b22
2 files changedLine totals unavailable