git-add: adjust to the get_pathspec() changes.