Don't try to import raven if we don't need to.