libtaskmanager: fix empty appid when a window is from a command
The url can point to a non-desktop file, so also consider them when generating AppData.
(cherry picked from commit a6968ccf)
The url can point to a non-desktop file, so also consider them when generating AppData.
(cherry picked from commit a6968ccf)