prefer-dist and archive synchronized

fixes #2098