Fix incorrectly generated URL path.

Refs #3442