fix(util) checkExtension: isObject -> isArray