make packagedb path absolute