Effect of a gap opening on the conductance of graphene superlattices