swipe-tracker: Fix crash in confirm_swipe()

A regression from 03bd1145
11 jobs for wip/exalm/fix in 21 minutes and 38 seconds