assuming that io-socket will run always on same server
fix appending more than one package with status building to status.packages - preventing user double upload same package and ui store two same entries with status.building
check if distribution directory has pool subdir, which means is real a distribution directory