AppDisplay: fix isTerminal() check for apps without categories

If there is no Categories line in the .desktop file, get_categories()
returns null, not an empty array.