fix(pyramid/predicates): avoid to show an error without a session connection

Merge request reports