The expansion bug #9675 and fixing in all files which contain Ticket::Hook, added default value for Ticket::Hook if it is not set.