small fix to logic in 256color term detection