yum throws error if you give it a mix of sources

This works:

`

This doesn’t:

`

`

Shouldn’t this ^ work as well?