Fix: contributor stats failure triggers wrong api call + indentation