Do not load if $TERM is not valide (fixes #161)