Fixed a NPE in container dispenser when amount was

written but not item.