Add package information to XML doctest output.

Refs #9874