LT-14461 and LT-14462: warn and quit if unable to read HKLM

Change-Id: I51a55501e207b8807df8c08c256f105346ff6a15