Correction of error in git repository class.