Fix NPE when the client is in demo mode

When the Client is in demo mode FML will try to crash with a "nice" error report saying it won't run in demo mode. That fails because of a NPE.