Fixed repo list processing

Also added handling for case when repo is moved from one organization to other

Resolves bug 1240852

Change-Id: I3faa3a212a9adb7328f40d493171d3f3f8d07972