further fix traceback on invalid .hgignore patterns
Please apply this little fix (matchfn return None if no patterns are
specified).
#header#<title>Mercurial repositories index</title></head><body><h2>Mercurial Repositories</h2>The specified repository "#repo#" is unknown, sorry.Please go back to the main repository list page.#footer#