Update Repository.php

fixed $repository is not defined
Merge pull request #43 from neiluJ/master

Fix bug on Repository::getDiff()