config: complain about --worktree outside of a git repo