If you have granulomas, then these are "walled off" nodules of the mycobacteria.
This is your immune system keeping the infection in check. Your medications also assist with this, but a compromised immune system can lead to activation of the infection again. As long as you stay healthy, the risk is significantly lower. If you are concerned, discuss this with the dr that prescribed you the meds.