Update SitemapIndexHook.php

rootpid fix