attr.c::path_matches(): the basename is part of the pathname