Fix sudo call without passing environment