add an extra ../ when dealing with relative paths
Merge pull request #433 from charliesome/fix-relative-path

Add an extra ../ when calculating relative paths