Fix get last commit date