move environment fixup to a higher level

Autobuilder was fixing the "revision" environment variable, but it
should be fixed globally.  Also set the http_proxy to eliminate drm
warnings retrieving a dtd.