check-ignore: convert to use parse_pathspec