gitk: Fix warning when removing a branch