remove prefix argument from pathspec_prefix