Fix hook.d script

Change-Id: I453ef74860b5d6caf5a704c202ec0c398b423b19
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>