Add public V[12]RegistriesConf.Nonempty(), use it in getConfig
Add public V[12]RegistriesConf.Nonempty(), use it in getConfig

The public functions will also be useful for external callers who want
to convert v1 to v2, or detect which version is used.

Does not change behavior.

Signed-off-by: Miloslav Trmač <9c008e38982a5397deb855345fb164f0558459ae@redhat.com>

containers/image,containers/image