[PDI-13080] When no records get sent to a PMR Reducer, the PMR Job Fails with Null Pointer Exceptions

* Added null check

See https://github.com/pentaho/pentaho-hadoop-shims/pull/167