He IS a beagle - anyone who has ever walked a beagle knows the nose is WAY more important than mere eyesight! I am guessing he just kept sniffing and sniffing until he came across the scent of dogs and dog food and followed that!