Cleanup run-test build environment passing.

Use python variables rather than environment to pass state.

Cleanup the environment use left over from the bash version.

Test: build artifacts are same as before
Change-Id: I3ba7f9e31a9a7046c62d67c6c66af4988d5c469a
12 files changed