Add null check to Jython Shell history conversion.

The history conversion will no longer generate an NPE if there is no
Jython Shell history (like if you are installing on a new machine).

[1618]