Prevents BC break with KnpMenuBundle v1.x

Like it was done in SonataAdminBundle https://github.com/sonata-project/SonataAdminBundle/blob/master/Admin/Admin.php#L1434