Fixes: [37575] Do not append duplicate NULL characters when importing keys with regedit
