Fix an error message displaying `%s` instead of a name