Do not segfault when the AppData file is invalid