Fix get_date for the version of git on Travis