Update extension.driver.php

This change will ensure no errors are thrown in Symphony 2.3 possibly earlier.