etl/cqs: Check for empty pipelines table
As we do incremental queries, sometimes the failed pipelines table can be empty. And the Dataframe.apply raises an exception when we try to operate on them.
Signed-off-by: Guilherme Gallo guilherme.gallo@collabora.com