The problem seems to be with -R option of mirror. When I change that to --reverse, it works correctly.