Prevent NPE by skipping empty list entries.
Prevent NPE when trying to get the pipe information of an null TileEntity.
Prevent crash if we fore some reason have a recipe but no crafting result.