utils: add basearch().
distro: use basearch() in add_option_distro().
Merge branch 'feature-basearch'