desktopappinfo: check whether the specified executable is valid