fix: ensure calling env command with options only would not throw
#10997
| Job | Run time |
|---|---|
| 34s | |
| 34s |
env command with options only would not throw
#10997
| Job | Run time |
|---|---|
| 34s | |
| 34s |