registry: reg_deletevalue should return error, when the value does not exist.