A minute optimization in yumpkg._pkg_arch

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'.