Fix logical erros in pbuilder task