MDL-50416 environment: add missing slasharguments checks