Avoid errors when no bzrlib, better loop