`AssertionError`: `assert _xterm_term_title_saved`...
`AssertionError`: `assert _xterm_term_title_saved`
In some (unknown) situation, it is possible that the `_xterm_term_title_saved` is unset,
but the code would make a call to `_restore_term_title_xterm`, resulting in `AssertionError`.
At least on replicatable reproduction is
returning from `ipython` to `pudb` via `^D^D` on an empty cell.
See more details in
https://github.com/ipython/ipython/pull/14480
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>