In 17.1.0, trying to retrieve the macro descriptor hits a 404 and displays feedback of this in the UI.
IMO this is good enough.
In addition, we now have a way nicer message for xwiki macros that do not exist.