Hm strange. Don't you use a custom jsreport loader? I see you start jsreport from a nested dir server/server.js. I would need full description of your environment and how you install and start jsreport and understand what is going on.
We calculate the rootDirectory as two dir levels up from jsreport folder.