Fix error in yum completions

Pass -- to contains.

Closes #1811.