Prevent unnecessary logging of null being returned by a transformer if the input bytes were null

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