Remove unnecessary import
Check for image emptiness in foreign key