[4.2] Fixes mutators implementation when $mutatorCache for given class is not available.

Solves #6769

Signed-off-by: crynobone <crynobone@gmail.com>