minor fix for package line matching