fix for running without a ticket_system configured, RT#34798, RT#10363