Use awk to compute PKG_DBDIR instead of sed
Use awk to compute PKG_DBDIR instead of sed

This makes the command way more readable. Also, add the missing
line break which was causing the script to hang.

skoef/pkg,khorben/pkg,en90/pkg,khorben/pkg,Open343/pkg,skoef/pkg,en90/pkg,khorben/pkg,junovitch/pkg,Open343/pkg,junovitch/pkg