Update Repository.php

add array check to argument