fix typeExtensions iteration in AssetFactory canCreate now that the exte...

...nsions is a map