Fix yum plugin patch

PR #216 seemed to contain a few syntax errors.

This PR fixes those.