Fix bug where link_subcommand ignored repo arguments