Fix error in call to wfRunHooks()

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