portage.package.ebuild._config.UseManager.UseManager.getUseAliases(): Accept pkg argument of type str.
portage.dbapi.dbapi._match_use(): Use _emerge.Package.Package._iuse.get_real_flag().

It fixes support for USE aliases in:
  best_version
  has_version
  emerge --keep-going
  emerge --resume