Fix node_modules path

In some cases we need to install this hooks in nested repositories. This request fix bug with this case
I don't another way to print the script's dir. And the SO [too](http://stackoverflow.com/a/246128/1377912)