change last revision from empty string to 0 if undef