worktree.c: get_worktrees() takes a new flag argument