add option to hash remote archive or just hash the name