[Bug 795063] su-wrapper segfault if TERM variabile is not in environment