further fix traceback on invalid .hgignore patterns
Please apply this little fix (matchfn return None if no patterns are
specified).
requesting all changesabort: error: Connection refused255ls: copy: No such file or directoryrequesting all changesabort: HTTP Error 404: File not found255