sss_override: fix exporting multiple domains
There was a mistake in the code which resulted in exporting one
domain several times if multiple domain were configured.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
(cherry picked from commit 20222362cf9557e0e053e5e5f3b6f07899c7bfe7)