Fix a crash when starting the client with invalid settings dir permissions (once again)