Add repo-related arguments to pkg.upgrade