[ticket/11700] Correctly handle avatar drivers with namespaces

PHPBB3-11700