Return null for selected provider if empty string