Update Repository.php

fixed $repository is not defined