A minute optimization

If package name cannot be split by dot, there is
no need to loop through all architectures to
check if package name ends with '.arch-name'.
Merge pull request #9109 from pakdel/minute_optimization

A minute optimization in yumpkg._pkg_arch