Fix a non-object notice

Fix a php notice if the module blocknewsletter is not installed or not present in the module folder :
Notice: Trying to get property of non-object in /controllers/front/IdentityController.php on line 140