1000145: Fix deprecated exception message warning.

Base exception message has been deprecated since Python 2.6.
Merge pull request #90 from candlepin/dgoodwin/exception-msg

1000145: Fix deprecated exception message warning.