clone projectPackage correctly