private function ensureHomePath(JsonArray $metaData)
    {
        if ($metaData->has(AbstractPackageManipulatingTask::SETTING_HOME)) {
            return;
        }
        $metaData->set(AbstractPackageManipulatingTask::SETTING_HOME, $this->home->homeDir());
    }