public function onKernelRequest()
    {
        foreach ($this->kernel->getBundles() as $bundle) {
            $bundlePathPackage = new BundlePathPackage($this->versionStrategy);
            $bundlePathPackage->setBundlePath($bundle->getName());
            $this->assetsPackages->addPackage($bundle->getName(), $bundlePathPackage);
        }
    }