packageName as return value ist redundant and should be also removed - its also 'macropackage$1..'  part