Fixed githook validation