Refactor: Remove global booth_conf variable in find_ticket_by_name...
...as well as functions that call it. Additionally, clean up a little
bit of coding style by adding braces around conditional blocks.
Co-authored-by: Jan Pokorny <jpokorny@redhat.com>