Fixing generation of packages of type .tgz and .tbz2