Move the html package target inside the check for Sphinx.

Refs #9611