Fixed importing SourceToObject class.
This fixes #2, although the workaround is not very nice (comparing the message of the ImportError exception with the expected message if the module was not found).