fixes for EMF type resolution with metamodels without unique root package