Fix for repo names containing path slashes

Thank you for this fix, but it breaks on my end because I use subpaths in my repository collection.