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