Implement the relative path calculation
Merge pull request #7 from Andre-487/relative-paths

Relative paths in hooks