scrapbooks dir resolution fixed

Prior to this fix .scrapbooks path would be incorrectly looked up in
the workdir of the node process.