PM-747 no double teeing.
PM-747 metrics file check only for non shell code generator cases.