[ticket/11465] Check if class exists before including info file

PHPBB3-11465