The best way to avoid a hammy taste is to intentionally create a hammy taste by making your own cured pork products from time to time--bacon, tasso ham, buckboard bacon, cured jowl, etc. Once you know how to create that flavor intentionally, you'll know how to avoid it as well.
Personally, I...