pathspec: do exact comparison on the leading non-wildcard part