relmac fails when macroname == filename

Hello,

we have noticed that relmac and relmaclib fail when we run them twice.

This happens if the macro name equals to filename (without .py extension).

We observed this with sardana 3.4.0 and python 3.9