Handle if TERM is not set
Handle if TERM is not set

Previous patch causes problems otherwise in some cases.

Signed-off-by: Andy Grover <b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com>

agrover/configshell-fb,cvubrugier/configshell-fb