Issue #2417021 by Dave Reid: Fixed empty elapsed time in drush xmlsitemap-regenerate or xmlsitemap-rebuild.