db.py: Adds self to repo_conf variables