Okay, will do.  I think I still need the len check though:

```python
if repos is not None and len(repos) > 0: ...
```

otherwise ```yum_clean_metadata([]) ``` will result in bogus yum command.