[FrameworkBundle], [TwigBundle] Fixed wrong paths to the resources due to the classes that are in the class cache.