fix some parameter checking in macroList

Missed applying the fix to the preg issue in macroList
Add missed package/subpackage to exampleMacaros