luci-base: expose effective dispatched path to client side environment