When do we expect the `branch_name` to be `nil` ? I don't see a case where it can be nil at this point.