Preserve env when running pip via sudo in packager [skip ci]
Preserve env when running pip via sudo in packager [skip ci]


Former-commit-id: ec0c765b27a1741ee7e5bc824f616efc676e4fa5 [formerly 80e1647f1485f9e55401087cf612e03ddb041f93]
Former-commit-id: c394c630ee713ff079b41c177e920fe043d8192b
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine