Issue #377: Fixes URL path bug introduced in #357.

Addresses https://github.com/backdrop/backdrop-issues/issues/377.