[ticket/11618] Workaround glob returning false erroneously

http://tracker.phpbb.com/browse/PHPBB3-11618

PHPBB3-11618