network: fix fork detection in certain backward search cases
network: fix fork detection in certain backward search cases

if there are no checkpoints and the split is very old, the exponential backward search might undershoot so that it asks for the genesis block but 0 and None are not distinguished hence the fork detection logic fails

wakiyamap/electrum-mona,pooler/electrum-ltc,cryptapus/electrum,vialectrum/vialectrum,spesmilo/electrum,spesmilo/electrum,asfin/electrum,pooler/electrum-ltc,asfin/electrum,wakiyamap/electrum-mona,vialectrum/vialectrum,pooler/electrum-ltc,fujicoin/electrum-fjc,spesmilo/electrum,neocogent/electrum,cryptapus/electrum,wakiyamap/electrum-mona,fujicoin/electrum-fjc,cryptapus/electrum,wakiyamap/electrum-mona,spesmilo/electrum,neocogent/electrum,fujicoin/electrum-fjc,pooler/electrum-ltc,neocogent/electrum,vialectrum/vialectrum,asfin/electrum