Fix typo (dbpath -> dbdir)
Create repo compatible with pkg 1.2
Another try to be compatible with 1.2
Merge pull request #862 from andrejzverev/typo1

Fix typo (dbpath -> dbdir)