core: Improve provisioner hooking by introducing a new builtin action for wrapping provisioner runs