Fix import crash when pyds9 is missing.