Added catch around unset, presence of the variable is core dependent, .tclshrc dependent, etc.
Require 8.4+.