refactor archlinux repo handling