private function findVendor($directory)
    {
        $vendorDirectory = $this->normalizePath($directory . '/_newup_vendor');

        if ($this->files->exists($vendorDirectory) && $this->files->isDirectory($vendorDirectory)) {
            return $vendorDirectory;
        }

        return false;
    }