A Guisborough man caught with shotgun cartridges in his home after reports of a firearms incident has walked free from court.