Use os.environ.copy() instead of dict()

Signed-off-by: Shawn O. Pearce <sop@google.com>
(cherry picked from commit 3218c13205694434edb2375ab8a8515554eed366)
1 file changed