Check for package name before calling Requirement.match()

It saves time!