popover-actions: use the right variable to set actions

This was found by asan
3 jobs for wip/sadiq/fixes in 4 minutes and 33 seconds
latest