Fix hook skipping

Commit 453a32c broke hook skipping by forgetting to pass some required
arguments.

Change-Id: Ib9ae29630e1041ee160108c93ae5379ce6c39882
Reviewed-on: http://gerrit.causes.com/40491
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane.dasilva@brigade.com>