removed deprecated call of repository()

Removed the deprecated call to repository(). Seems to be :ok: so far.