the check on sonata is redundant, we already have it above.

i suggest we invert this here, to say `if (isset($bundles['CmfMenuBundle'])) {$loader->load...}`