new env loader on machine tag

I think you could just change `$(env...)` to `$(optenv...)`, then it would put an empty string if the variable is not defined. If what you say is correct, that it doesn't use any ssh if the machine is localhost, then it wouldn't matter if the variable is empty as it shouldn't be used anyway, right?