Use rpm instead of yum to check if RPM package is installed [#220]

Yum has been observed to fail in some cases due to file permission
issues when run as a non-root user on systems with a restrictive root
umask. Rpm is lighter and more robust.