Fix asset-url("/path", true)

Same as PR #1724, but rebased with respect to the latest stable.