Note that I also tried adding:

.RunInDirectory(Path.Combine(Directory.GetCurrentDirectory(), "jsreport"))

to the first code block and that didn't help.