git-gui: catch invalid or complete regular expressions and treat as no match.