Fix the AppData file after the desktop file was renamed
geoclue: Add a null check