Fixed the packageName regular expression