Fix null pointer segfault
Add url, description, summary
Remove repodata before creating db