Bug fix: add null check before using registry key object.
Bug fix: add null check before using registry key object.

stefanwerfling/pgina,MutonUfoAI/pgina,daviddumas/pgina,pgina/pgina,MutonUfoAI/pgina,stefanwerfling/pgina,MutonUfoAI/pgina,stefanwerfling/pgina,daviddumas/pgina,daviddumas/pgina,pgina/pgina,pgina/pgina