refs #9569. Return const ref to fix test failure.

Tests now seem to run correctly on windows. The const ref must have been
used to extend the lifetime of the member variable!