check if repo is allowed to be build