Updated rebar to a new version, the version in the repo didn't seem to recognize the prehooks.