Removed dup code at get_default_image