fixed wrong method name causing crash when adding repositories (bnc#875412)