Hi Martin,
Nice to hear you use Motsognir!
The current path (pwd) is changed to / when Motsognir daemonize itself,
and it is never changed. It is not a bug - it's a (lack of) feature ;)
Switching the "current directory" to the script's location just before
executing it sounds like a harmless thing to do, and it would definitely
make your life easier. I will write a patch for that today, and let you
know when it's ready.
By any means, let me know should you see any other other perfectible
points in Motsognir, or need help with some particular items, I'll be
happy to help.
cheers,
Mateusz