A further step would probably be making the branch filtering policy properly
configurable, rather than hard-coded in these functions. That way, we can decide
that we do want to archive all the branches from an archived repo, rather than
just the "live" branches that we'd commonly archive from remote repositories.
Depends on D3188.