findPath from a border adjacent to a swamp returns an empty path