Fetch the hooks right out of the local clone if possible. Otherwise fall back to a project-configured remote repository.