Fix requests for docker host ending with slash Upstream-commit: f148337da9afef5ecc06d1719d19a770079929ef Component: engine