Revert "Retrieve hooks for a given repo"

This reverts commit ed3b2845bf66768893ca37b398b2bda91599dbe0.