Ignore Mercurial and Git repository directories when searching.