fix issue #4: delete pkg files and db entries

... when pkg not in config anymore