See previous thread for some more context about the current mechanism:
The problem is that discourse provides only quite basic tools. The linkification is done via regexes and these cannot perform additional logic to e.g. check whether the package actually exists in General.
If anything, we could try to make the script that generates the redirects smarter somehow. Although I don’t see how it could divine the existence of some package that’s not registered in General.