Revert part of 1abf095 (git-add: adjust to the get_pathspec() changes)