Corrected git hook issue