fix: ensure calling env command with options only would not throw
#14715
Loading
env command with options only would not throw
#14715