Fix return value of name_exact