only decrement if repo is found