Issue #105 Add null check for stock_image_path.