def _saferefenv(self, key):
raise NotImplementedError<EOL>
make the var safe to reference, even if it does not yet exist. This is
needed because of different behaviours in shells - eg, tcsh will fail
on ref to undefined var, but sh will expand to the empty string.