Use Component#verify only for classes

This fixes TypeError: RPM is not a module when some of
the dependencies are not met.
Merge pull request #106 from strzibny/fix-component-verify

Use Component#verify only for classes