Changing method for PHT public build and fixing git refresh for package name.