The "--error-unmatch" is about reporting errors in pathspecs you gave from
the command line. The behaviour is undefined if you do not give any, like
the above command line.
Having said that, I wouldn't be surprised if it triggered when run from an
empty subdirectory.