Ignore 0 commits ahead
Fix if statement for 0 commits