Fixed bug #12415: Respect change #17167: Cache ExtDirect::getAPI calls