tundra.tn.document.type:get - fix null pointer exception when doctype not found