Utils.is_macro(): Fix doctest

is_macro() is supposed to raise exception
if a valid string is not provided. Remove part
of the doctest that expects invalid type to return
empty string.