setup_revisions(): do not call get_pathspec() too early