is that a proper use of 'dirt'
if you mean dirt as in something the person is trying to hide, then getting on someone's case more like "keep bringing up dirt" than "find dirt" (but it doesn't have to be something they're trying to hide)