Correct env[:tmp_path] references
Upstream change: new network model
Upstream change: setting hostname moved to builtin