Role of geometry in the superfluid flow of nonlocal photon fluids