fix isPackageInstalled() for Google Translate detection