Check nil Terminal to avoid panic
Check nil Terminal to avoid panic

Signed-off-by: Zhang Wei <14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com>

swasd/baleno,stevvooe/docker,JimGalasyn/docker.github.io,eskaaren/docker,troy0820/docker.github.io,xuxinkun/docker,docker-zh/docker.github.io,bdwill/docker.github.io,Test-Betta-Inc/psychic-barnacle,thaJeztah/docker,laijs/docker,containers/storage,cpuguy83/docker,anweiss/docker.github.io,tophj-ibm/docker,justincormack/docker,HackToday/docker,dsheets/moby,supasate/docker,SvenDowideit/docker,jvanz/docker,noironetworks/docker,HackToday/docker,tophj-ibm/docker,Ramzec/docker,charleswhchan/docker,hustcat/docker,yp-engineering/docker,tagomoris/docker,cloudflare/docker,thaJeztah/docker,prertik/docker,gigidwan/docker,JimGalasyn/docker.github.io,gjaskiewicz/moby,justyntemme/docker,vdemeester/docker,LaynePeng/docker,hyperhq/hypercli,BrianBland/docker,LuisBosquez/docker.github.io,JeffBellegarde/docker,HackToday/docker,nawawi/docker,xuxinkun/docker,menglingwei/denverdino.github.io,yp-engineering/docker,kojiromike/docker,jloehel/docker,AkihiroSuda/docker,stainboy/docker,alexisbellido/docker.github.io,POLJM242/docker,jecarey/docker,bluebreezecf/docker,izarov/docker,jvanz/docker,tagomoris/docker,eskaaren/docker,dmcgowan/docker,estesp/docker,anortef/docker,moby/moby,darrenstahlmsft/docker,ripcurld0/moby,pradipd/moby,konstruktoid/docker-1,kunalkushwaha/docker,gao-feng/docker,yosifkit/docker,kerneltime/docker,imkin/moby,kolyshkin/moby,dnephin/docker,harche/docker,Jimmy-Xu/hypercli,maxamillion/docker,shhsu/docker,liaoqingwei/docker,xiekeyang/docker,aditirajagopal/docker,sdurrheimer/docker,aduermael/docker.github.io,mstanleyjones/docker,zhuguihua/docker,haveatry/docker,mikedougherty/docker,yummypeng/docker,ColinHebert/docker,errordeveloper/docker,sanjeo/docker,moul/docker,moul/docker,bdwill/docker.github.io,phiroict/docker,ibuildthecloud/docker,tklauser/docker,cyli/docker,sallyom/docker,ZJUshuaizhou/docker,izarov/docker,johnstep/docker.github.io,kerneltime/docker,pyotr777/docker,jimjag/docker,thaJeztah/docker.github.io,erikh/docker,yongtang/docker,moul/docker,liaoqingwei/docker,ckeyer/docker,Shopify/docker,icecrime/docker,x1022as/docker,madhanrm/docker,thaJeztah/docker.github.io,danyalKhaliq10p/moby,pyotr777/docker,sunyuan3/docker,tophj-ibm/moby,rremer/moby,joaofnfernandes/docker.github.io,willmtemple/docker,docker-zh/docker.github.io,djs55/docker,londoncalling/docker.github.io,aduermael/docker.github.io,konstruktoid/docker-1,swasd/baleno,scotttlin/docker,BSWANG/denverdino.github.io,Altiscale/docker,DoraALin/docker,diogomonica/docker,dsau/docker,docker/docker.github.io,kunalkushwaha/docker,yongtang/docker,docker-zh/docker.github.io,cmehay/docker-1,fcrisciani/docker,laijs/docker,upmio/docker,unclejack/docker,jimjag/docker,gdevillele/docker.github.io,afein/docker,tkopczynski/docker,laijs/moby,shubheksha/docker.github.io,aduermael/docker.github.io,rillig/docker.github.io,tpounds/docker,justyntemme/docker,aaronlehmann/docker,dgageot/docker,noironetworks/docker,vincentwoo/docker,kencochrane/docker,carolfh/docker,icaoweiwei/docker,lixiaobing1/docker,jzwlqx/denverdino.github.io,cyphar/docker,mbanikazemi/docker,moul/docker,docker/docker,Test-Betta-Inc/psychic-barnacle,darrenstahlmsft/docker,POLJM242/docker,fsoppelsa/docker,asbjornenge/docker,joeuo/docker.github.io,ffoysal/docker,vincentwoo/docker,harche/docker,allencloud/docker,rillig/docker.github.io,icecrime/docker,sdurrheimer/docker,docker/docker.github.io,coolljt0725/docker,OnePaaS/docker,ndeloof/docker,cyli/docker,londoncalling/docker.github.io,qudongfang/docker,mtesselH/docker,nigelpoulton/docker,menglingwei/denverdino.github.io,Jimmy-Xu/hypercli,alfred-landrum/docker,portworx/docker,jc-m/docker,geekylucas/docker,JMesser81/docker,duglin/docker,achanda/docker,KarthikNayak/docker,dmcgowan/docker,containers/storage,tagomoris/docker,nalind/docker,moypray/docker,alexisbellido/docker.github.io,cnaize/docker,sunyuan3/docker,vijaykilari/docker,rhatdan/docker,PatrickLang/moby,noironetworks/docker,LaynePeng/docker,runcom/docker,dnephin/docker,madhanrm/docker,Microsoft/docker,Jimmy-Xu/hypercli,dccurtis/docker,denverdino/docker.github.io,abhinavdahiya/docker,cnaize/docker,aidanhs/docker,alexisbellido/docker.github.io,mkumatag/docker,erikstmartin/docker,portworx/docker,achanda/docker,cyphar/docker,darrenstahlmsft/moby,PatrickLang/moby,ckeyer/docker,thaJeztah/docker,joaofnfernandes/docker.github.io,wenchma/docker,hyperhq/hypercli,jzwlqx/denverdino.github.io,msabansal/docker,resin-io/docker,DoraALin/docker,JeffBellegarde/docker,errordeveloper/docker,mahak/docker,dsheets/moby,konstruktoid/docker-upstream,abhinavdahiya/docker,BrianBland/docker,isubuz/docker,willmtemple/docker,bfirsh/docker,shhsu/docker,miminar/docker,harche/docker,thaJeztah/docker,umerazad/docker,vincentwoo/docker,brahmaroutu/docker,swasd/baleno,gschaetz/moby,hallyn/docker,ffoysal/docker,Shopify/docker,twaugh/docker,mssola/docker,kolyshkin/moby,fcrisciani/docker,medallia/docker,sarnautov/moby,willmtemple/docker,rkazak/docker,Microsoft/docker,runcom/docker,Collinux/docker,zhangjianfnst/docker,Test-Betta-Inc/psychic-barnacle,mahak/docker,pramodhkp/moby,srust/docker,OnePaaS/docker,coolljt0725/docker,bdwill/docker.github.io,supasate/docker,shishir-a412ed/docker,contiv/docker,charleszheng44/moby,cmehay/docker-1,ivansaracino/docker,danix800/docker.github.io,jimjag/docker,catinthesky/docker,rhatdan/storage,naveed-jamil-tenpearls/moby,ibuildthecloud/docker,sanscontext/docker.github.io,DoraALin/docker,ffoysal/docker,BenHall/docker,vdemeester/docker,johnstep/moby-moby,lixiaobing10051267/docker,mixja/docker,rillig/docker.github.io,splunk/docker,jongiddy/docker,resin-io/docker,tophj-ibm/moby,jvanz/docker,inatatsu/docker,shishir-a412ed/docker,bearstech/moby,fangyuan930917/docker,dmcgowan/docker,zhangjianfnst/docker,Collinux/docker,toli/docker,solganik/docker,kyle-wang/docker,Tenk42/docker,joaofnfernandes/docker.github.io,ckeyer/docker,hqhq/moby,yongtang/docker,anujbahuguna/docker,sarnautov/moby,bonczj/moby-json-file-logger,sfsmithcha/docker,dsheets/moby,shin-/docker.github.io,fangyuan930917/docker,supasate/docker,sunyuan3/docker,Altiscale/docker,londoncalling/docker.github.io,denverdino/docker.github.io,imkin/moby,qudongfang/docker,paralin/docker,medallia/docker,diogomonica/docker,trebonian/docker,KingEmet/docker,johnstep/docker.github.io,konstruktoid/docker-upstream,ivansaracino/docker,moxiegirl/docker,mohmost12/docker,bdwill/docker.github.io,tonistiigi/docker,mikebrow/docker,lixiaobing10051267/docker,dccurtis/docker,afein/docker,yasiramin10p/moby,thaJeztah/docker.github.io,darrenstahlmsft/docker,HuKeping/docker,crosbymichael/docker,Mashimiao/docker,vdemeester/docker,ncdc/docker,darrenstahlmsft/moby,londoncalling/docker.github.io,alfred-landrum/docker,laijs/moby,rhatdan/storage,menglingwei/denverdino.github.io,raja-sami-10p/moby,q384566678/docker,yosifkit/docker,shin-/docker.github.io,JMesser81/docker,LuisBosquez/docker.github.io,TheBigBear/docker,liaoqingwei/docker,flavio/docker,cnaize/docker,joeuo/docker.github.io,Mokolea/docker,dongjoon-hyun/docker,JimGalasyn/docker.github.io,docker-zh/docker.github.io,jc-m/docker,containers/storage,ripcurld0/moby,BSWANG/denverdino.github.io,Syntaxide/docker,fcrisciani/docker,tianon/docker,docker/docker.github.io,dims/docker,ibuildthecloud/docker,Mokolea/docker,zhangjianfnst/docker,rkazak/docker,toli/docker,thtanaka/docker,mgoelzer/docker,yosifkit/docker,asbjornenge/docker,mikedougherty/docker,HuKeping/docker,isubuz/docker,14rcole/docker,solganik/docker,moxiegirl/docker,13W/docker,joaofnfernandes/docker.github.io,x1022as/docker,duglin/docker,rremer/moby,sanjeo/docker,thtanaka/docker,xiaods/docker,ripcurld0/moby,denverdino/denverdino.github.io,ncdc/docker,dsau/docker,justyntemme/docker,sfsmithcha/docker,noxiouz/docker,solganik/docker,tmp6154/docker,toli/docker,pradipd/moby,michael-holzheu/docker,charleswhchan/docker,mgoelzer/docker,LuisBosquez/docker.github.io,mtanlee/docker,xiekeyang/docker,JimGalasyn/docker.github.io,paralin/docker,LuisBosquez/docker.github.io,gdevillele/docker.github.io,cyli/docker,haveatry/docker,shin-/docker.github.io,mike1729/docker,tophj-ibm/moby,SvenDowideit/docker,mkumatag/docker,srust/docker,hallyn/docker,djs55/docker,HideoYamauchi/docker,nawawi/docker,amatsus/docker,aduermael/docker.github.io,ailispaw/docker,troy0820/docker.github.io,projectatomic/docker,cpuguy83/docker,cr7pt0gr4ph7/docker,xiekeyang/docker,stevvooe/docker,scotttlin/docker,akira-baruah/docker,troy0820/docker.github.io,jzwlqx/denverdino.github.io,dccurtis/docker,jthelin/docker,flavio/docker,sanscontext/docker.github.io,laijs/moby,projectatomic/docker,YujiOshima/docker,bonczj/moby-json-file-logger,Microsoft/docker,jhorwit2/docker,Ramzec/docker,Morsicus/docker,rremer/moby,kimh/docker,cr7pt0gr4ph7/docker,brahmaroutu/docker,michelvocks/docker,gjaskiewicz/moby,denverdino/docker.github.io,stainboy/docker,docker/docker,jwhonce/docker,catinthesky/docker,shhsu/docker,naveed-jamil-tenpearls/moby,Tenk42/docker,crosbymichael/docker,kimh/docker,shubheksha/docker.github.io,danix800/docker.github.io,mbanikazemi/docker,aditirajagopal/docker,bdwill/docker.github.io,tkopczynski/docker,tpounds/docker,menglingwei/denverdino.github.io,sheimi/docker,gschaetz/moby,mahak/docker,mgoelzer/docker,mtanlee/docker,madhanrm/docker,SaiedKazemi/docker,trebonian/docker,asbjornenge/docker,portworx/docker,tklauser/docker,imeoer/hypercli,hypriot/docker,anweiss/docker.github.io,stainboy/docker,BSWANG/denverdino.github.io,sean-jc/docker,icaoweiwei/docker,medallia/docker,sanscontext/docker.github.io,lixiaobing1/docker,joeuo/docker.github.io,endocode/docker,nghiant2710/docker,Morsicus/docker,SaiedKazemi/docker,justincormack/docker,cpuguy83/docker,charleszheng44/moby,scollier/docker,konstruktoid/docker-1,michael-holzheu/docker,maxamillion/docker,endophage/docker,achanda/docker,haveatry/docker,LuisBosquez/docker.github.io,nigelpoulton/docker,tonistiigi/docker,wenchma/docker,sterchelen/docker,fsoppelsa/docker,JeffBellegarde/docker,scotttlin/docker,sheimi/docker,dsau/docker,mtrmac/docker,HuKeping/docker,flavio/docker,joeuo/docker.github.io,bfirsh/docker,LaynePeng/docker,zhuguihua/docker,mohmost12/docker,AkihiroSuda/docker,kencochrane/docker,lixiaobing10051267/docker,shishir-a412ed/docker,docker-zh/docker.github.io,srust/docker,noxiouz/docker,bearstech/moby,bonczj/moby-json-file-logger,jwhonce/docker,moby/moby,imkin/moby,Tenk42/docker,londoncalling/docker.github.io,aaronlehmann/docker,KarthikNayak/docker,whuwxl/docker,gschaetz/moby,davinashreddy/docker,moby/moby,scollier/docker,TrumanLing/docker,charleswhchan/docker,nalind/docker,anweiss/docker.github.io,BenHall/docker,xuxinkun/docker,imeoer/hypercli,TrumanLing/docker,tophj-ibm/docker,Shopify/docker,zhuguihua/docker,allencloud/docker,ailispaw/docker,shubheksha/docker.github.io,ivansaracino/docker,ZJU-SEL/docker,aditirajagopal/docker,trebonian/docker,raja-sami-10p/moby,erikh/docker,hustcat/docker,estesp/docker,ibuildthecloud/docker,jimjag/docker,thaJeztah/docker.github.io,gao-feng/docker,splunk/docker,qudongfang/docker,hqhq/moby,sheimi/docker,nghiant2710/docker,phiroict/docker,rhatdan/docker,dongjoon-hyun/docker,ajaymdesai/docker,yasiramin10p/moby,KingEmet/docker,Collinux/docker,rhardih/docker,stevvooe/docker,troy0820/docker.github.io,bfirsh/docker,denverdino/denverdino.github.io,YujiOshima/docker,denverdino/docker.github.io,thaJeztah/docker.github.io,akira-baruah/docker,aidanhs/docker,YujiOshima/docker,JMesser81/docker,alexisbellido/docker.github.io,PatrickLang/moby,ncdc/docker,contiv/docker,luxas/docker,mikedougherty/docker,kyle-wang/docker,kyle-wang/docker,skatsuta/docker,bearstech/moby,phiroict/docker,HideoYamauchi/docker,AkihiroSuda/docker,csfrancis/docker,anujbahuguna/docker,prertik/docker,rkazak/docker,Mokolea/docker,erikh/docker,dperny/docker,alfred-landrum/docker,tmp6154/docker,tpounds/docker,unclejack/docker,gdevillele/docker.github.io,Ramzec/docker,msabansal/docker,ajaymdesai/docker,erikstmartin/docker,xiaods/docker,luxas/docker,bluebreezecf/docker,kolyshkin/docker,sallyom/docker,sanjeo/docker,tianon/docker,gigidwan/docker,raja-sami-10p/moby,allencloud/docker,coreos/docker,arun-gupta/docker,ColinHebert/docker,mtrmac/docker,runcom/docker,djs55/docker,michelvocks/docker,geekylucas/docker,amatsus/docker,q384566678/docker,yummypeng/docker,paralin/docker,BSWANG/denverdino.github.io,endophage/docker,hustcat/docker,carolfh/docker,jwhonce/docker,TheBigBear/docker,sterchelen/docker,nguyentm83/docker,rancher/docker,danyalKhaliq10p/moby,Mashimiao/docker,hyperhq/hypercli,HideoYamauchi/docker,mikebrow/docker,yasiramin10p/moby,nigelpoulton/docker,maxamillion/docker,lixiaobing1/docker,mohmost12/docker,miminar/docker,izarov/docker,pecameron/docker,cmehay/docker-1,mike1729/docker,mssola/docker,denverdino/docker.github.io,rhatdan/storage,jlebon/docker,skatsuta/docker,TheBigBear/docker,jlebon/docker,danix800/docker.github.io,trebonian/docker,cyphar/docker,ajaymdesai/docker,cr7pt0gr4ph7/docker,darrenstahlmsft/moby,pramodhkp/moby,pradipd/moby,nalind/docker,johnstep/docker.github.io,YuPengZTE/docker,rhardih/docker,14rcole/docker,sean-jc/docker,dongjoon-hyun/docker,umerazad/docker,TrumanLing/docker,BSWANG/denverdino.github.io,sean-jc/docker,nawawi/docker,jongiddy/docker,mtanlee/docker,Morsicus/docker,Mashimiao/docker,brahmaroutu/docker,jlebon/docker,mahak/docker,vijaykilari/docker,afein/docker,jlhawn/docker,ndeloof/docker,mathewkoshy493/docker,mixja/docker,13W/docker,laijs/docker,denverdino/denverdino.github.io,diogomonica/docker,shin-/docker.github.io,nawawi/docker,ZJUshuaizhou/docker,anweiss/docker.github.io,rancher/docker,Ramzec/docker,sdurrheimer/docker,mstanleyjones/docker,csfrancis/docker,denverdino/denverdino.github.io,alexisbellido/docker.github.io,nghiant2710/docker,KarthikNayak/docker,phiroict/docker,kimh/docker,sarnautov/moby,michelvocks/docker,eskaaren/docker,shin-/docker.github.io,ZJU-SEL/docker,sanscontext/docker.github.io,coolljt0725/docker,dnephin/docker,mkumatag/docker,michael-holzheu/docker,hypriot/docker,ndeloof/docker,mixja/docker,johnstep/docker.github.io,dperny/docker,BenHall/docker,docker/docker,JimGalasyn/docker.github.io,denverdino/denverdino.github.io,jloehel/docker,q384566678/docker,jc-m/docker,miminar/docker,twaugh/docker,shubheksha/docker.github.io,duglin/docker,mtesselH/docker,jameszhan/docker,aaronlehmann/docker,ColinHebert/docker,danix800/docker.github.io,jhorwit2/docker,inatatsu/docker,kojiromike/docker,gjaskiewicz/moby,kerneltime/docker,13W/docker,cloudflare/docker,yp-engineering/docker,AkihiroSuda/docker,gigidwan/docker,anweiss/docker.github.io,mathewkoshy493/docker,mathewkoshy493/docker,mike1729/docker,arun-gupta/docker,errordeveloper/docker,hypriot/docker,jloehel/docker,jameszhan/docker,noxiouz/docker,coreos/docker,sanscontext/docker.github.io,carolfh/docker,pecameron/docker,resin-io/docker,kojiromike/docker,moxiegirl/docker,Mokolea/docker,Altiscale/docker,charleszheng44/moby,mtesselH/docker,rhatdan/docker,imeoer/hypercli,phiroict/docker,yummypeng/docker,whuwxl/docker,johnstep/moby-moby,thtanaka/docker,gnailuy/docker,medallia/docker,kunalkushwaha/docker,kencochrane/docker,tmp6154/docker,gnailuy/docker,Syntaxide/docker,x1022as/docker,davinashreddy/docker,estesp/docker,YuPengZTE/docker,jzwlqx/denverdino.github.io,msabansal/docker,gnailuy/docker,OnePaaS/docker,twaugh/docker,gnailuy/docker,shubheksha/docker.github.io,sallyom/docker,luxas/docker,jthelin/docker,erikstmartin/docker,dgageot/docker,pecameron/docker,kolyshkin/docker,geekylucas/docker,13W/docker,bearstech/moby,jecarey/docker,aidanhs/docker,flavio/docker,Syntaxide/docker,icecrime/docker,nalind/docker,joeuo/docker.github.io,jlhawn/docker,xiaods/docker,arun-gupta/docker,johnstep/docker.github.io,isubuz/docker,dims/docker,splunk/docker,jlhawn/docker,csfrancis/docker,ZJUshuaizhou/docker,SvenDowideit/docker,pramodhkp/moby,upmio/docker,konstruktoid/docker-upstream,upmio/docker,amatsus/docker,YuPengZTE/docker,endophage/docker,catinthesky/docker,SaiedKazemi/docker,anortef/docker,moypray/docker,endocode/docker,endocode/docker,nguyentm83/docker,whuwxl/docker,umerazad/docker,anortef/docker,sterchelen/docker,moby/moby,ibuildthecloud/docker,konstruktoid/docker-upstream,abhinavdahiya/docker,projectatomic/docker,mbanikazemi/docker,tonistiigi/docker,KingEmet/docker,paralin/docker,mstanleyjones/docker,dgageot/docker,gdevillele/docker.github.io,moypray/docker,unclejack/docker,tklauser/docker,inatatsu/docker,davinashreddy/docker,pyotr777/docker,hqhq/moby,contiv/docker,bluebreezecf/docker,vijaykilari/docker,skatsuta/docker,fsoppelsa/docker,icaoweiwei/docker,jongiddy/docker,coreos/docker,docker/docker.github.io,crosbymichael/docker,fangyuan930917/docker,johnstep/moby-moby,cloudflare/docker,hallyn/docker,prertik/docker,dperny/docker,cpuguy83/docker,gao-feng/docker,mikebrow/docker,gdevillele/docker.github.io,jameszhan/docker,naveed-jamil-tenpearls/moby,anujbahuguna/docker,tkopczynski/docker,yosifkit/docker,rillig/docker.github.io,dims/docker,menglingwei/denverdino.github.io,13W/docker,justincormack/docker,rancher/docker,mssola/docker,danyalKhaliq10p/moby,docker/docker.github.io,wenchma/docker,sfsmithcha/docker,kolyshkin/moby,mtrmac/docker,jhorwit2/docker,joaofnfernandes/docker.github.io,jzwlqx/denverdino.github.io,ailispaw/docker,BrianBland/docker