Fixed nullpointer handling in network kodex loader.