OS-2867: fix 'make check'; correct error handling for bogus userAgentExtra type in imgadm.conf