Don't use pkg_glob when guessing name, else we may think the package
is installed when it isn't.
Merge pull request #4998 from berenddeboer/portinstall-fix

When name has digits in it, we may incorrectly determine package is already installed