Prevent Exception when sonata.page.page.class dont exists

when i try to easy-extends it throw a reflection error Application\Sonata\PageBundle\Entity\Post don't exist and it denied me to create the extended bundle so it loop in continue error, with this it fix that.