Fixes #5409: Ignore empty results from the script extracting list compatible inputs