[CLEANUP] Remove unnecessary early return in GeneralUtility::instantiateClass