Fix require on network share path (#12282)
Fix require on network share path (#12282)

* first pass at server/network require fix

* refactor for clarity

bpasero/electron,the-ress/electron,shiftkey/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,shiftkey/electron,shiftkey/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,the-ress/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,shiftkey/electron,the-ress/electron,bpasero/electron,seanchas116/electron,electron/electron,bpasero/electron,the-ress/electron,electron/electron,seanchas116/electron,electron/electron,the-ress/electron,shiftkey/electron,the-ress/electron,bpasero/electron,shiftkey/electron,bpasero/electron,gerhardberger/electron,the-ress/electron,seanchas116/electron,electron/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,electron/electron