s4:lib:registry: fix 'Conditional jump or move' valgrind error.