Updated the fetcher subprocess to pass in the environment explicitly.

Review: https://reviews.apache.org/r/19164