fix raise cond: building=false with uncomplete log

fetch logfile one last time after building was set to false
fix issue #4: delete pkg files and db entries

... when pkg not in config anymore