[ticket/12661] More fixes for travis test

PHPBB3-12661