[ticket/11882] If dependency is incorrect/unfulfillable, throw an error

PHPBB3-11882