Prevent NPE in IC2 EnergyNet

Signed-off-by: Ross Allan <rallanpcl@gmail.com>