Added checks for SonataBlockBundle presence