I would also verify that `kwargs['ex_blockdevicemappings'] is a list / tuple.