Properly check $TERM for screen

Previously it would not recognize when $TERM was set to screen-256color