Respect nobase64_img conf

Signed-off-by: Michael M Slusarz <slusarz@horde.org>
[mms] Respect 'nobase64_img' configuration when generating image tags (João Machado <geral@jpaulo.eu>).
[mms] Don't auto-detect TLS availability again once we have done initial detection.