[Bug 661754] New: adding repository returns an error