Fix NPE. See  See
https://github.com/angelozerr/tern.java/issues/195