Fix a segfault caused by .desktop file with no exec= line.