Validation of repository and org and other names is for the consumer of this call. Maybe this can change later.
Branches with suffixes -rm -removed -deleted are now classified as removed. This is important in case project config refers to default branch names which must exist so we need to be able to classify such branches to either use them or ignore them