avoid warnings when an info value is unset
avoid warnings when rpm-md repos are disabled
fix open3 usage
Merge pull request #377 from adrianschroeter/master

- Avoid unexpected warnings in product media code