Guard restore method in faces phase listener from a null webContext.