[PATCH-libreport 5/7] report-cli: ugly hack to allow code reuse