you need to transform before this check. Otherwise, something like `os-type` would never make it.