I am using Magento 2.2.2. Please see below the current settings of the sitemap.
It works correctly when we create sitemap by hitting generate button in admin. But when it gets generated automatically using cron it shows /public_html/ in sitemap index for sub-sitemaps, please see below image, its sitemap.xml