Note that this change switches from checking out a tag, to checking out a branch. I agree that we should be using branches here.