fixing deprecation from older repositories array
Merge pull request #2 from jonathanwiesel/deprecation-warning-fix

fixing deprecation from older repositories array