gitk: Fix bug introduced in commit 67a4f1a7