Allow none for pathspec