Added YamlException to GiveUnitCrateAction if no units are defined.