java package unify
purge-packages: purgedir needs to be abs path

make topdir absolute if passed from first parameter