fix patch-package main directory resolution (#4102)
fix patch-package main directory resolution (#4102)

it was going into my home due to some assumptions about
node_modules and parent directory, imo it will be more reliable
to start with working directory from which the script is called.
petrjasek/superdesk-client-core,superdesk/superdesk-client-core,petrjasek/superdesk-client-core,petrjasek/superdesk-client-core,superdesk/superdesk-client-core,superdesk/superdesk-client-core,petrjasek/superdesk-client-core,superdesk/superdesk-client-core,petrjasek/superdesk-client-core,superdesk/superdesk-client-core