fix: ensure calling env command with options only would not throw
#12762
| Job | Run time |
|---|---|
| 1m 13s | |
| 1m 14s | |
| 2m 27s |
env command with options only would not throw
#12762
| Job | Run time |
|---|---|
| 1m 13s | |
| 1m 14s | |
| 2m 27s |