[HttpKernel] make paths relative to __DIR__ in the generated container