Check if DriverState is valid before using in convert
Check if DriverState is valid before using in convert

Signed-off-by: Jana Radhakrishnan <045898bda7d4800fe4909a9831e702ab79e266be@docker.com>
(cherry picked from commit 4fea81154b817b09e553308a1595bfd97a8c0582)

BSWANG/denverdino.github.io,sanscontext/docker.github.io,danix800/docker.github.io,alexisbellido/docker.github.io,phiroict/docker,rillig/docker.github.io,shin-/docker.github.io,rillig/docker.github.io,shubheksha/docker.github.io,LuisBosquez/docker.github.io,joaofnfernandes/docker.github.io,thaJeztah/docker.github.io,anweiss/docker.github.io,phiroict/docker,troy0820/docker.github.io,londoncalling/docker.github.io,bdwill/docker.github.io,sanscontext/docker.github.io,phiroict/docker,docker/docker.github.io,gdevillele/docker.github.io,alexisbellido/docker.github.io,docker/docker.github.io,aduermael/docker.github.io,docker/docker.github.io,docker-zh/docker.github.io,joaofnfernandes/docker.github.io,bdwill/docker.github.io,docker-zh/docker.github.io,aduermael/docker.github.io,thaJeztah/docker.github.io,shin-/docker.github.io,johnstep/docker.github.io,stainboy/docker,LuisBosquez/docker.github.io,JimGalasyn/docker.github.io,medallia/docker,docker-zh/docker.github.io,denverdino/denverdino.github.io,stainboy/docker,medallia/docker,danix800/docker.github.io,joeuo/docker.github.io,medallia/docker,shin-/docker.github.io,aduermael/docker.github.io,denverdino/docker.github.io,shubheksha/docker.github.io,BSWANG/denverdino.github.io,jzwlqx/denverdino.github.io,joeuo/docker.github.io,shubheksha/docker.github.io,menglingwei/denverdino.github.io,shin-/docker.github.io,denverdino/denverdino.github.io,jzwlqx/denverdino.github.io,joeuo/docker.github.io,londoncalling/docker.github.io,denverdino/denverdino.github.io,alexisbellido/docker.github.io,danix800/docker.github.io,shubheksha/docker.github.io,denverdino/denverdino.github.io,JimGalasyn/docker.github.io,menglingwei/denverdino.github.io,danix800/docker.github.io,bdwill/docker.github.io,anweiss/docker.github.io,anweiss/docker.github.io,rillig/docker.github.io,stainboy/docker,joeuo/docker.github.io,jzwlqx/denverdino.github.io,phiroict/docker,thaJeztah/docker.github.io,denverdino/docker.github.io,johnstep/docker.github.io,londoncalling/docker.github.io,jzwlqx/denverdino.github.io,denverdino/denverdino.github.io,medallia/docker,Shopify/docker,denverdino/docker.github.io,BSWANG/denverdino.github.io,shubheksha/docker.github.io,sanscontext/docker.github.io,rillig/docker.github.io,bdwill/docker.github.io,LuisBosquez/docker.github.io,troy0820/docker.github.io,BSWANG/denverdino.github.io,johnstep/docker.github.io,londoncalling/docker.github.io,LuisBosquez/docker.github.io,gdevillele/docker.github.io,aduermael/docker.github.io,JimGalasyn/docker.github.io,johnstep/docker.github.io,JimGalasyn/docker.github.io,denverdino/docker.github.io,thaJeztah/docker.github.io,JimGalasyn/docker.github.io,bdwill/docker.github.io,sanscontext/docker.github.io,jzwlqx/denverdino.github.io,LuisBosquez/docker.github.io,sanscontext/docker.github.io,Shopify/docker,joeuo/docker.github.io,troy0820/docker.github.io,denverdino/docker.github.io,Shopify/docker,docker-zh/docker.github.io,shin-/docker.github.io,docker/docker.github.io,anweiss/docker.github.io,joaofnfernandes/docker.github.io,alexisbellido/docker.github.io,joaofnfernandes/docker.github.io,troy0820/docker.github.io,menglingwei/denverdino.github.io,gdevillele/docker.github.io,docker/docker.github.io,gdevillele/docker.github.io,gdevillele/docker.github.io,joaofnfernandes/docker.github.io,docker-zh/docker.github.io,thaJeztah/docker.github.io,alexisbellido/docker.github.io,BSWANG/denverdino.github.io,menglingwei/denverdino.github.io,londoncalling/docker.github.io,anweiss/docker.github.io,phiroict/docker,menglingwei/denverdino.github.io,johnstep/docker.github.io