I added INHERIT_remove = "debian" to my local.conf but it's still
the same.
Where is the debian.bbclass enabled? I couldn't find it. It this the
default?
INHERIT_DISTRO is where it comes from. If you have an old release _remove won't work.
Have a look at the default value for INHERIT_DISTRO and assign it, without debian, in your local.conf.