ctx: handle duplicate repo names
ctx: handle non-existant repo removal