Fix flavor type bug in config opts

flavor is StrOpt instead of IntOpt

Change-Id: I8c2269ff940561821a7f24097f204d40f83f07c9