doc fix. Use `sess.path` within `open_session`. Closes #13490. [ci skip]