Cleaned up the is_installed logic
Cleaned up the is_installed logic

There are times where packages are outdated and yum decides to
install a newer version.  This accounts for those cases.

For example: python-pip would install python2-pip if exists, yet
the module would error and report python-pip was not installed.

AerisCloud/ansible-yum