Add and install correctly pre-commit hook

Change-Id: I7c47e7fdd4f7747a3631a0c3213f97017b77eb35