Truncate commit var before uploading.