git-gui: Fix the after callback execution in rescan.