fixed setting project path in pre-commit hook script