I think that if you're getting it in suiteSetup, and don't use it anywhere else, it should be ok here in suiteTeardown, and you don't need this if.