Looks like this variable (pathStringCond) can be skipped in both cases.