removed deprecated call of repository()
Merge pull request #53 from macgitver/nf/f/rm-deprecated

removed deprecated call of repository()