fix: handle no env in externsion world set up (#19101)
fix: handle no env in externsion world set up (#19101)

Previously when GetEnvironment returned null this extension setup
crashed.
electron/electron,bpasero/electron,the-ress/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,the-ress/electron,electron/electron,electron/electron,the-ress/electron,bpasero/electron,seanchas116/electron,bpasero/electron,seanchas116/electron,electron/electron,gerhardberger/electron,seanchas116/electron,electron/electron,seanchas116/electron,the-ress/electron,the-ress/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,the-ress/electron,bpasero/electron,seanchas116/electron,electron/electron,bpasero/electron,the-ress/electron