Fix Terminal.processId when setProcessId has not yet been called
Fix Terminal.processId when setProcessId has not yet been called

Part of #12770

matthewshirley/vscode,0xmohit/vscode,microlv/vscode,veeramarni/vscode,gagangupt16/vscode,rishii7/vscode,hashhar/vscode,eamodio/vscode,mjbvz/vscode,charlespierce/vscode,DustinCampbell/vscode,joaomoreno/vscode,hoovercj/vscode,microlv/vscode,the-ress/vscode,joaomoreno/vscode,stringham/vscode,hoovercj/vscode,radshit/vscode,eamodio/vscode,hungys/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,stringham/vscode,jchadwick/vscode,veeramarni/vscode,stringham/vscode,hoovercj/vscode,matthewshirley/vscode,the-ress/vscode,the-ress/vscode,mjbvz/vscode,hoovercj/vscode,joaomoreno/vscode,eamodio/vscode,joaomoreno/vscode,stringham/vscode,jchadwick/vscode,hoovercj/vscode,KattMingMing/vscode,the-ress/vscode,jchadwick/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,radshit/vscode,stringham/vscode,stringham/vscode,microsoft/vscode,jchadwick/vscode,Zalastax/vscode,landonepps/vscode,radshit/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,radshit/vscode,eamodio/vscode,rishii7/vscode,stringham/vscode,gagangupt16/vscode,landonepps/vscode,DustinCampbell/vscode,zyml/vscode,stringham/vscode,rishii7/vscode,hashhar/vscode,microlv/vscode,hungys/vscode,KattMingMing/vscode,eamodio/vscode,hashhar/vscode,KattMingMing/vscode,cleidigh/vscode,stringham/vscode,0xmohit/vscode,DustinCampbell/vscode,stringham/vscode,zyml/vscode,radshit/vscode,Zalastax/vscode,zyml/vscode,hungys/vscode,the-ress/vscode,joaomoreno/vscode,KattMingMing/vscode,cleidigh/vscode,hungys/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,hashhar/vscode,0xmohit/vscode,Zalastax/vscode,Krzysztof-Cieslak/vscode,mjbvz/vscode,Microsoft/vscode,veeramarni/vscode,Microsoft/vscode,Microsoft/vscode,Zalastax/vscode,mjbvz/vscode,Microsoft/vscode,radshit/vscode,matthewshirley/vscode,Microsoft/vscode,veeramarni/vscode,joaomoreno/vscode,charlespierce/vscode,jchadwick/vscode,mjbvz/vscode,landonepps/vscode,hungys/vscode,the-ress/vscode,matthewshirley/vscode,Krzysztof-Cieslak/vscode,KattMingMing/vscode,cleidigh/vscode,zyml/vscode,microlv/vscode,zyml/vscode,jchadwick/vscode,0xmohit/vscode,hashhar/vscode,landonepps/vscode,landonepps/vscode,stringham/vscode,microsoft/vscode,charlespierce/vscode,KattMingMing/vscode,hoovercj/vscode,veeramarni/vscode,the-ress/vscode,joaomoreno/vscode,DustinCampbell/vscode,DustinCampbell/vscode,DustinCampbell/vscode,0xmohit/vscode,hashhar/vscode,zyml/vscode,joaomoreno/vscode,mjbvz/vscode,the-ress/vscode,KattMingMing/vscode,landonepps/vscode,radshit/vscode,microlv/vscode,rkeithhill/VSCode,zyml/vscode,jchadwick/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,Zalastax/vscode,Microsoft/vscode,DustinCampbell/vscode,hashhar/vscode,0xmohit/vscode,cleidigh/vscode,matthewshirley/vscode,the-ress/vscode,KattMingMing/vscode,the-ress/vscode,mjbvz/vscode,hashhar/vscode,gagangupt16/vscode,Microsoft/vscode,microsoft/vscode,jchadwick/vscode,landonepps/vscode,zyml/vscode,microlv/vscode,veeramarni/vscode,0xmohit/vscode,mjbvz/vscode,hashhar/vscode,gagangupt16/vscode,eamodio/vscode,hungys/vscode,landonepps/vscode,cleidigh/vscode,zyml/vscode,rishii7/vscode,Microsoft/vscode,joaomoreno/vscode,stringham/vscode,charlespierce/vscode,jchadwick/vscode,veeramarni/vscode,gagangupt16/vscode,zyml/vscode,Microsoft/vscode,eamodio/vscode,charlespierce/vscode,DustinCampbell/vscode,microlv/vscode,joaomoreno/vscode,veeramarni/vscode,the-ress/vscode,jchadwick/vscode,hoovercj/vscode,zyml/vscode,rishii7/vscode,cleidigh/vscode,gagangupt16/vscode,microlv/vscode,hungys/vscode,microsoft/vscode,radshit/vscode,landonepps/vscode,hoovercj/vscode,Microsoft/vscode,the-ress/vscode,rishii7/vscode,radshit/vscode,eamodio/vscode,gagangupt16/vscode,hungys/vscode,jchadwick/vscode,matthewshirley/vscode,radshit/vscode,matthewshirley/vscode,0xmohit/vscode,Microsoft/vscode,jchadwick/vscode,stringham/vscode,jchadwick/vscode,KattMingMing/vscode,0xmohit/vscode,matthewshirley/vscode,eamodio/vscode,KattMingMing/vscode,radshit/vscode,cleidigh/vscode,hoovercj/vscode,hungys/vscode,rishii7/vscode,cleidigh/vscode,microlv/vscode,Krzysztof-Cieslak/vscode,charlespierce/vscode,landonepps/vscode,radshit/vscode,veeramarni/vscode,hashhar/vscode,microsoft/vscode,rishii7/vscode,0xmohit/vscode,charlespierce/vscode,landonepps/vscode,microsoft/vscode,microlv/vscode,cleidigh/vscode,landonepps/vscode,joaomoreno/vscode,zyml/vscode,Zalastax/vscode,charlespierce/vscode,gagangupt16/vscode,Krzysztof-Cieslak/vscode,mjbvz/vscode,hungys/vscode,charlespierce/vscode,Zalastax/vscode,matthewshirley/vscode,mjbvz/vscode,mjbvz/vscode,microsoft/vscode,cleidigh/vscode,Zalastax/vscode,matthewshirley/vscode,jchadwick/vscode,microsoft/vscode,KattMingMing/vscode,cleidigh/vscode,gagangupt16/vscode,veeramarni/vscode,joaomoreno/vscode,gagangupt16/vscode,0xmohit/vscode,joaomoreno/vscode,zyml/vscode,microsoft/vscode,hungys/vscode,cleidigh/vscode,zyml/vscode,charlespierce/vscode,eamodio/vscode,Microsoft/vscode,matthewshirley/vscode,DustinCampbell/vscode,cra0zy/VSCode,0xmohit/vscode,hashhar/vscode,microsoft/vscode,charlespierce/vscode,Krzysztof-Cieslak/vscode,KattMingMing/vscode,microlv/vscode,eamodio/vscode,hungys/vscode,veeramarni/vscode,charlespierce/vscode,hungys/vscode,stringham/vscode,matthewshirley/vscode,mjbvz/vscode,zyml/vscode,0xmohit/vscode,microsoft/vscode,0xmohit/vscode,Microsoft/vscode,microlv/vscode,Zalastax/vscode,Zalastax/vscode,rishii7/vscode,microsoft/vscode,matthewshirley/vscode,hoovercj/vscode,charlespierce/vscode,gagangupt16/vscode,gagangupt16/vscode,veeramarni/vscode,microlv/vscode,matthewshirley/vscode,DustinCampbell/vscode,hungys/vscode,mjbvz/vscode,Zalastax/vscode,the-ress/vscode,joaomoreno/vscode,gagangupt16/vscode,radshit/vscode,Microsoft/vscode,matthewshirley/vscode,the-ress/vscode,hoovercj/vscode,radshit/vscode,matthewshirley/vscode,radshit/vscode,charlespierce/vscode,cleidigh/vscode,hoovercj/vscode,hashhar/vscode,veeramarni/vscode,hashhar/vscode,Zalastax/vscode,veeramarni/vscode,landonepps/vscode,charlespierce/vscode,matthewshirley/vscode,cleidigh/vscode,eamodio/vscode,charlespierce/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,Microsoft/vscode,eamodio/vscode,Microsoft/vscode,DustinCampbell/vscode,Zalastax/vscode,microsoft/vscode,hashhar/vscode,KattMingMing/vscode,landonepps/vscode,charlespierce/vscode,rishii7/vscode,zyml/vscode,radshit/vscode,hoovercj/vscode,veeramarni/vscode,the-ress/vscode,rishii7/vscode,gagangupt16/vscode,gagangupt16/vscode,KattMingMing/vscode,cleidigh/vscode,landonepps/vscode,microlv/vscode,DustinCampbell/vscode,hungys/vscode,microlv/vscode,stringham/vscode,0xmohit/vscode,Krzysztof-Cieslak/vscode,veeramarni/vscode,DustinCampbell/vscode,joaomoreno/vscode,DustinCampbell/vscode,microsoft/vscode,mjbvz/vscode,mjbvz/vscode,stringham/vscode,hungys/vscode,DustinCampbell/vscode,Zalastax/vscode,joaomoreno/vscode,radshit/vscode,rishii7/vscode,mjbvz/vscode,hashhar/vscode,rishii7/vscode,Zalastax/vscode,landonepps/vscode,rishii7/vscode,hashhar/vscode,Krzysztof-Cieslak/vscode,veeramarni/vscode,KattMingMing/vscode,0xmohit/vscode,DustinCampbell/vscode,hungys/vscode,jchadwick/vscode,Zalastax/vscode,Krzysztof-Cieslak/vscode,gagangupt16/vscode,rishii7/vscode,rishii7/vscode,zyml/vscode,joaomoreno/vscode,cleidigh/vscode,DustinCampbell/vscode,hoovercj/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,microlv/vscode,landonepps/vscode,stringham/vscode,jchadwick/vscode,KattMingMing/vscode,eamodio/vscode,hoovercj/vscode,hashhar/vscode,eamodio/vscode,jchadwick/vscode,rishii7/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,microsoft/vscode,microlv/vscode,0xmohit/vscode,cleidigh/vscode,mjbvz/vscode,Zalastax/vscode,KattMingMing/vscode,gagangupt16/vscode