Fix publishGhPages task to set properties correctly on the clone.