autotest-2353: adding env check for production as well