protected function createUpgrade($metaData)
    {
        $this->ensureHomePath($metaData);
        if (!$metaData->has(UpgradeTask::SETTING_DATA_DIR)) {
            $metaData->set(UpgradeTask::SETTING_DATA_DIR, $this->home->tensideDataDir());
        }
        return new UpgradeTask($metaData);
    }