Allow specifying preferred repository id on dependency