Fix error in call to wfRunHooks()

Change-Id: I4fefbdfdfbc820f25a8a62a5424644433303e31b
Follows-up: Id429e0145 (55301f03e3)
Bug: 54628