Use simpler @unittest.skipUnless(os.path.isdir(SOFTWARE_DIR))