MDL-45764 mod_lti: Fix adding General Tool

This error only occurs when a ltisource
plugin is present that implements the
get_types callback.