api: fix error message for duplicated keys
api: remove references to gitosis in docs