Don't try to fetch from database if the class is not set
Don't try to fetch from database if the class is not set

peter-gribanov/SonataAdminBundle,ARTACK/SonataAdminBundle,mweimerskirch/SonataAdminBundle,mweimerskirch/SonataAdminBundle,jordisala1991/SonataAdminBundle,osavchenko/SonataAdminBundle,Armstrong1992/SonataAdminBundle,ossinkine/SonataAdminBundle,greg0ire/SonataAdminBundle,OskarStark/SonataAdminBundle,ARTACK/SonataAdminBundle,osavchenko/SonataAdminBundle,ARTACK/SonataAdminBundle,osavchenko/SonataAdminBundle,jordisala1991/SonataAdminBundle,Armstrong1992/SonataAdminBundle,OskarStark/SonataAdminBundle,ossinkine/SonataAdminBundle,mweimerskirch/SonataAdminBundle,sonata-project/SonataAdminBundle,sonata-project/SonataAdminBundle,ARTACK/SonataAdminBundle,jordisala1991/SonataAdminBundle,ossinkine/SonataAdminBundle,ossinkine/SonataAdminBundle,mweimerskirch/SonataAdminBundle,greg0ire/SonataAdminBundle,greg0ire/SonataAdminBundle,peter-gribanov/SonataAdminBundle,OskarStark/SonataAdminBundle,peter-gribanov/SonataAdminBundle,osavchenko/SonataAdminBundle,osavchenko/SonataAdminBundle,OskarStark/SonataAdminBundle,greg0ire/SonataAdminBundle,jordisala1991/SonataAdminBundle,peter-gribanov/SonataAdminBundle