Fixed branch resolution
Fixed branch resolution

some older repos don't have the docs.main prop. In that case I'm resolving the root file from REPO_NAME

spring-cloud/spring-cloud-build,spring-cloud/spring-cloud-build