Fix error: 'invalid use of '%' in replacement string'
Copy initial environ so we can check it for values after starting but without swapping the current and old eniron.