lib/pkgdb_conversion.c: avoid copying dangling pointer if "repository-origin" is unexistent.