Worked around a difference in ImportError messages.