[COOK-3061] use value_for_platform_family instead of an ugly case