Open3#popen3 should use leading Hash as additional environment variables

Fixes #1547