protected function retrieveWarehousePath()
    {
        foreach (self::WAREHOUSE_DIRS as $candidate) {
            $warehousePath = sprintf($candidate, $this->getBasePath());
            if (is_dir($warehousePath)) {
                return $warehousePath;
            }
        }

        throw new SkeletonException('Cannot locate warehouse dir');
    }