Fix inContainer detection which CROSSPLATFORM env variable missing Upstream-commit: 305601bb31b56b8a0b0380131f8ea157aa8dce55 Component: engine