Fix faiure when repomanage result is empty