Role of finite nuclei on the pairing gap of the inner crust of neutron stars