Fixes #5409: Ignore empty results from the script extracting list compat...

...ible inputs