[s1865] Keep comitter information within the cleanupHistory.sh script

(based on commit [12326] - 1a77388)