Fixing Issue #2377

Closed username-removed-217046 requested to merge hpavlov/tortoisegit:issue-2377 into master

After a branch rename in the Browse References dialog keep the tree selection to the parent of the renamed leaf.