Fix check for trusty