bugfix: fail early when attempting to specify repository for an existing package