Pipeline: Skip except_elements logic if no elements to except
Description
This is the bst-1.2 version of !688 (merged)
This merge request is related to #466 (closed)
This is the bst-1.2 version of !688 (merged)
This merge request is related to #466 (closed)