fix for RT-84164

The name_from regex doesn't support any of the above. It expects the package name to be followed by optional whitespace then a semicolon.