#42961 Workaround P2 comp/cli

terminal.cwd config ignored for local backend — process cwd always used instead

The terminal.cwd config setting is silently discarded for the local terminal backend because cli.py unconditionally overrides it with the process's launch directory, so it only works for non-local backends.