adds guard clause to GetMinifierInstance