Remove duplicated extensions code

This code is duplicated as already present in the `update()` method, as mentioned in issue https://github.com/sonata-project/SonataPageBundle/pull/270