completion: remove broken dead code from __git_heads() and __git_tags()