kernel - Augment resource_string_value() to check kenv.