rose edit: fix error menu.

This fixes errors in variable widget menu construction when
there is an error for that variable created by a custom macro.

The problem was caused by a '/' in the custom macro name, which
interfered with the err_item lookup.