make root & relativeTo options relative to source tree

previously the options were relative to the CWD
Merge pull request #1 from kanongil/relative-to-tree-fix

make root & relativeTo options relative to source tree