Apply the same splitting logic for explicit envvars