Avoid exception if no currency is used at all

CommodityParser did not handle null case.