Fix error in call to wfRunHooks()

Change-Id: I6bdaebc1f13a9334aec618a45f34eff99a9efe45
Follows-up: I447afd1fe (a115fad2e)
Bug: 54628