user: Fix variable replacement for %{ticket.user}