Check for nil image