discover: Properly handle return values