We need to make sure that the arguments are valid, and we can strip a leading ~ if it is given.
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.