Fix several checks for existing terminfo strings
Fix several checks for existing terminfo strings

We should be checking for null or empty, but we're currently just checking for null.

SGuyGe/corefx,benjamin-bader/corefx,jhendrixMSFT/corefx,alexandrnikitin/corefx,marksmeltzer/corefx,yizhang82/corefx,jcme/corefx,the-dwyer/corefx,lggomez/corefx,Petermarcu/corefx,the-dwyer/corefx,JosephTremoulet/corefx,khdang/corefx,Ermiar/corefx,elijah6/corefx,tstringer/corefx,seanshpark/corefx,rahku/corefx,Petermarcu/corefx,tstringer/corefx,cydhaselton/corefx,rjxby/corefx,iamjasonp/corefx,vidhya-bv/corefx-sorting,rubo/corefx,Ermiar/corefx,wtgodbe/corefx,marksmeltzer/corefx,josguil/corefx,krk/corefx,SGuyGe/corefx,MaggieTsang/corefx,billwert/corefx,YoupHulsebos/corefx,lggomez/corefx,twsouthwick/corefx,rubo/corefx,nchikanov/corefx,kkurni/corefx,richlander/corefx,twsouthwick/corefx,SGuyGe/corefx,Chrisboh/corefx,billwert/corefx,zhenlan/corefx,manu-silicon/corefx,690486439/corefx,yizhang82/corefx,marksmeltzer/corefx,josguil/corefx,jhendrixMSFT/corefx,mellinoe/corefx,ptoonen/corefx,ViktorHofer/corefx,jhendrixMSFT/corefx,kkurni/corefx,alexperovich/corefx,elijah6/corefx,mazong1123/corefx,dotnet-bot/corefx,yizhang82/corefx,alexperovich/corefx,Ermiar/corefx,mafiya69/corefx,alexandrnikitin/corefx,mokchhya/corefx,pallavit/corefx,jlin177/corefx,benjamin-bader/corefx,lggomez/corefx,Ermiar/corefx,Priya91/corefx-1,JosephTremoulet/corefx,manu-silicon/corefx,Petermarcu/corefx,n1ghtmare/corefx,stephenmichaelf/corefx,YoupHulsebos/corefx,alexandrnikitin/corefx,fgreinacher/corefx,vidhya-bv/corefx-sorting,bitcrazed/corefx,shmao/corefx,cydhaselton/corefx,benpye/corefx,mmitche/corefx,seanshpark/corefx,Chrisboh/corefx,shahid-pk/corefx,krk/corefx,shmao/corefx,wtgodbe/corefx,dotnet-bot/corefx,nchikanov/corefx,cartermp/corefx,twsouthwick/corefx,seanshpark/corefx,richlander/corefx,tijoytom/corefx,kkurni/corefx,twsouthwick/corefx,dhoehna/corefx,mmitche/corefx,ravimeda/corefx,alphonsekurian/corefx,ericstj/corefx,stone-li/corefx,ptoonen/corefx,zhenlan/corefx,dsplaisted/corefx,yizhang82/corefx,shmao/corefx,jhendrixMSFT/corefx,shimingsg/corefx,nchikanov/corefx,fgreinacher/corefx,nbarbettini/corefx,wtgodbe/corefx,khdang/corefx,tijoytom/corefx,jeremymeng/corefx,ravimeda/corefx,akivafr123/corefx,janhenke/corefx,shahid-pk/corefx,cydhaselton/corefx,mokchhya/corefx,benpye/corefx,manu-silicon/corefx,jlin177/corefx,tstringer/corefx,ravimeda/corefx,akivafr123/corefx,krytarowski/corefx,stone-li/corefx,ptoonen/corefx,jcme/corefx,shahid-pk/corefx,iamjasonp/corefx,YoupHulsebos/corefx,benjamin-bader/corefx,ravimeda/corefx,alexperovich/corefx,krytarowski/corefx,nbarbettini/corefx,wtgodbe/corefx,akivafr123/corefx,alexperovich/corefx,ericstj/corefx,ellismg/corefx,kkurni/corefx,rjxby/corefx,ellismg/corefx,dotnet-bot/corefx,khdang/corefx,fgreinacher/corefx,axelheer/corefx,JosephTremoulet/corefx,weltkante/corefx,khdang/corefx,Jiayili1/corefx,janhenke/corefx,mmitche/corefx,lggomez/corefx,nbarbettini/corefx,stephenmichaelf/corefx,ellismg/corefx,jcme/corefx,ravimeda/corefx,bitcrazed/corefx,rjxby/corefx,richlander/corefx,rahku/corefx,richlander/corefx,tijoytom/corefx,rahku/corefx,Jiayili1/corefx,gkhanna79/corefx,iamjasonp/corefx,janhenke/corefx,cydhaselton/corefx,mafiya69/corefx,seanshpark/corefx,rubo/corefx,nchikanov/corefx,richlander/corefx,alphonsekurian/corefx,dsplaisted/corefx,gkhanna79/corefx,yizhang82/corefx,ellismg/corefx,mafiya69/corefx,iamjasonp/corefx,shimingsg/corefx,krk/corefx,marksmeltzer/corefx,akivafr123/corefx,krytarowski/corefx,mmitche/corefx,josguil/corefx,MaggieTsang/corefx,SGuyGe/corefx,elijah6/corefx,mafiya69/corefx,josguil/corefx,ViktorHofer/corefx,Priya91/corefx-1,dotnet-bot/corefx,adamralph/corefx,elijah6/corefx,ericstj/corefx,jlin177/corefx,tijoytom/corefx,jlin177/corefx,alexandrnikitin/corefx,axelheer/corefx,mafiya69/corefx,n1ghtmare/corefx,690486439/corefx,rahku/corefx,ravimeda/corefx,DnlHarvey/corefx,vidhya-bv/corefx-sorting,zhenlan/corefx,mellinoe/corefx,alphonsekurian/corefx,shmao/corefx,dotnet-bot/corefx,gkhanna79/corefx,dhoehna/corefx,Jiayili1/corefx,Jiayili1/corefx,DnlHarvey/corefx,mellinoe/corefx,weltkante/corefx,ptoonen/corefx,zhenlan/corefx,wtgodbe/corefx,MaggieTsang/corefx,weltkante/corefx,jhendrixMSFT/corefx,kkurni/corefx,elijah6/corefx,Chrisboh/corefx,jlin177/corefx,marksmeltzer/corefx,iamjasonp/corefx,mafiya69/corefx,690486439/corefx,weltkante/corefx,cydhaselton/corefx,mmitche/corefx,ViktorHofer/corefx,stephenmichaelf/corefx,dhoehna/corefx,MaggieTsang/corefx,JosephTremoulet/corefx,stephenmichaelf/corefx,YoupHulsebos/corefx,the-dwyer/corefx,manu-silicon/corefx,nbarbettini/corefx,pallavit/corefx,SGuyGe/corefx,alphonsekurian/corefx,Priya91/corefx-1,adamralph/corefx,cydhaselton/corefx,iamjasonp/corefx,benpye/corefx,seanshpark/corefx,benjamin-bader/corefx,YoupHulsebos/corefx,khdang/corefx,MaggieTsang/corefx,khdang/corefx,janhenke/corefx,benpye/corefx,cartermp/corefx,jeremymeng/corefx,krytarowski/corefx,parjong/corefx,Priya91/corefx-1,stephenmichaelf/corefx,690486439/corefx,ptoonen/corefx,cartermp/corefx,shahid-pk/corefx,stone-li/corefx,janhenke/corefx,jcme/corefx,marksmeltzer/corefx,pallavit/corefx,mmitche/corefx,jlin177/corefx,nbarbettini/corefx,ViktorHofer/corefx,shimingsg/corefx,dsplaisted/corefx,ericstj/corefx,ptoonen/corefx,alphonsekurian/corefx,richlander/corefx,cartermp/corefx,mazong1123/corefx,ViktorHofer/corefx,SGuyGe/corefx,BrennanConroy/corefx,Priya91/corefx-1,gkhanna79/corefx,josguil/corefx,krk/corefx,tijoytom/corefx,Chrisboh/corefx,wtgodbe/corefx,Ermiar/corefx,dotnet-bot/corefx,Jiayili1/corefx,twsouthwick/corefx,stephenmichaelf/corefx,Petermarcu/corefx,DnlHarvey/corefx,parjong/corefx,alphonsekurian/corefx,parjong/corefx,ericstj/corefx,mazong1123/corefx,bitcrazed/corefx,Priya91/corefx-1,nchikanov/corefx,dhoehna/corefx,benjamin-bader/corefx,rjxby/corefx,dotnet-bot/corefx,parjong/corefx,alexperovich/corefx,Chrisboh/corefx,lggomez/corefx,billwert/corefx,tstringer/corefx,shimingsg/corefx,bitcrazed/corefx,ViktorHofer/corefx,manu-silicon/corefx,MaggieTsang/corefx,mazong1123/corefx,weltkante/corefx,akivafr123/corefx,marksmeltzer/corefx,JosephTremoulet/corefx,stone-li/corefx,stone-li/corefx,BrennanConroy/corefx,ViktorHofer/corefx,jhendrixMSFT/corefx,Ermiar/corefx,vidhya-bv/corefx-sorting,yizhang82/corefx,the-dwyer/corefx,tstringer/corefx,rjxby/corefx,billwert/corefx,manu-silicon/corefx,axelheer/corefx,stephenmichaelf/corefx,pallavit/corefx,mokchhya/corefx,cartermp/corefx,twsouthwick/corefx,bitcrazed/corefx,ravimeda/corefx,janhenke/corefx,cydhaselton/corefx,mellinoe/corefx,rahku/corefx,JosephTremoulet/corefx,mokchhya/corefx,mellinoe/corefx,billwert/corefx,krk/corefx,BrennanConroy/corefx,parjong/corefx,zhenlan/corefx,krytarowski/corefx,krytarowski/corefx,mmitche/corefx,josguil/corefx,shahid-pk/corefx,benpye/corefx,axelheer/corefx,axelheer/corefx,ellismg/corefx,mokchhya/corefx,n1ghtmare/corefx,fgreinacher/corefx,Petermarcu/corefx,nbarbettini/corefx,alexandrnikitin/corefx,elijah6/corefx,parjong/corefx,690486439/corefx,parjong/corefx,wtgodbe/corefx,pallavit/corefx,billwert/corefx,iamjasonp/corefx,tijoytom/corefx,shimingsg/corefx,jhendrixMSFT/corefx,mellinoe/corefx,ellismg/corefx,alexperovich/corefx,DnlHarvey/corefx,jeremymeng/corefx,mokchhya/corefx,tijoytom/corefx,nchikanov/corefx,gkhanna79/corefx,jeremymeng/corefx,manu-silicon/corefx,Petermarcu/corefx,DnlHarvey/corefx,the-dwyer/corefx,Chrisboh/corefx,krk/corefx,shimingsg/corefx,rahku/corefx,krk/corefx,nbarbettini/corefx,DnlHarvey/corefx,benjamin-bader/corefx,weltkante/corefx,tstringer/corefx,seanshpark/corefx,cartermp/corefx,rubo/corefx,seanshpark/corefx,shmao/corefx,jcme/corefx,jcme/corefx,billwert/corefx,krytarowski/corefx,dhoehna/corefx,alexperovich/corefx,rahku/corefx,alphonsekurian/corefx,shahid-pk/corefx,zhenlan/corefx,dhoehna/corefx,the-dwyer/corefx,yizhang82/corefx,YoupHulsebos/corefx,jeremymeng/corefx,shmao/corefx,nchikanov/corefx,pallavit/corefx,gkhanna79/corefx,Ermiar/corefx,adamralph/corefx,n1ghtmare/corefx,kkurni/corefx,stone-li/corefx,JosephTremoulet/corefx,mazong1123/corefx,ericstj/corefx,shmao/corefx,n1ghtmare/corefx,richlander/corefx,weltkante/corefx,rjxby/corefx,MaggieTsang/corefx,the-dwyer/corefx,rubo/corefx,vidhya-bv/corefx-sorting,jlin177/corefx,stone-li/corefx,mazong1123/corefx,Jiayili1/corefx,elijah6/corefx,lggomez/corefx,ericstj/corefx,rjxby/corefx,gkhanna79/corefx,zhenlan/corefx,lggomez/corefx,twsouthwick/corefx,YoupHulsebos/corefx,mazong1123/corefx,Petermarcu/corefx,benpye/corefx,shimingsg/corefx,DnlHarvey/corefx,ptoonen/corefx,dhoehna/corefx,axelheer/corefx,Jiayili1/corefx