push: optimize env parsing