REVIEW: (Trivial) Adding removeRepository method. (master)

Like https://github.com/sonatype/nexus-oss/pull/630, just for master rather than 2.9.x.