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