Fixes fatal error when no AdminBundle is loaded