Small RepoHooks cleanup

This is split from I8c7399e. Not many changes I wanted to do in
RepoHooks are left because most of them are already done and merged
as part of other patches.

Change-Id: Ie7b5b5141c6256b796ae4587961338d301988327
Merge "Small RepoHooks cleanup"