Signal device not found instead of not found when bool function returns false