Fix multirepo remote packages handling.