fix pylint W0120: Else clause on loop without a break statement

`for-else` is also a pretty obscure construct