How to check registry in Ghost image