Fixed a bug with assetic in the twig extension.