Correcting defective check for AUTOWIRING_IS_EMBEDDED