Fix repository field

Finishing off #1 :)