Improved handling of role_version in repo_url_to_role_name