Fix node_modules path

In some cases we need to install this hooks in nested repositories. This request fix bug with this case