Update Twig Extension for last SonataBlock update

Since the last update of Sonata Block (yesterday), SonataPage doesn't work anymore. I found this issue.