Fixed bug 951709, renamed HOSTNAME env var

ref: https://bugzilla.mozilla.org/show_bug.cgi?id=951709