fixed collecting logs in case of pkg testing

Merged Michal Nowikowski requested to merge fix-collecting-logs into master

Merge request reports