Avoid crashes when HKLM keys don't exist

It looks like this one was missed when we made the switch from
HKLM to HKCU

Change-Id: Id20d0e6ac9690424f7ca8692fdcde5bd1e92c0ac