Local directory of running snap is not the directory the snap was executed from

The local directory of running snap is not the directory the snap was executed from, I guess this is due to the snap being executed in the sandbox, but this should be corrected so that the local directory of the sand boxed snap is the directory I executed the snap from, so if I execute it from the terminal it should execute and write to the directory I had cd’d into in the terminal.

At the moment the local directory / base path when executing a snap is the location of the snap binary /snap/snapname/number/. I suppose if you have local assets in the snap dir I can see how this would be useful, is there some way I can configure in my YAML file to define what local/base dir to use?