Fixes #5494: make rudder compile and tests pass again
Merge pull request #602 from fanf/ust_5293/bug/5494_define_report_only_var

Fixes #5494: make rudder compile and tests pass again