try to get flavor by uuid if by name fails