[WIP] Validate hooks existence

Is it the intended behavior to return the empty Array in this method in the case of a YAML configuration file containing `pre_commits: false`?

If negative, consider using:

```ruby
content.fetch('pre_commits') { [] }
```