fix wrong logic for mangling repos

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #64 from ceph/6245

fix wrong logic for mangling repos