Edited typo in RepositoryClass

There was a typo in one of function call in Repository class.