Fix get_metadata_item imports.