Break pkgrepo setup out of zfstest-init.