If the study was re-attempted in-Doors with a mechanism to control the magnetic field, we could be able to verify that dogs are orienting by the magnetic field instead of, say, the position of the sun.
New study suggests dogs capable of celestial navigation: "Columbus was a sucker for using an astrolabe when he could have just brought along a good boi and watched him shit"