[ticket/12009] Do not allow incorrectly structured extensions to be installed.

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