Fix previous commit regression where captured output with empty lines did raise exception
Fix previous commit regression where captured output with empty lines did raise exception

IDSIA/sacred,IDSIA/sacred