ticket_branch: fix ticket creation error