Simplifies repository route and target strings