Remove unneeded code

The removed code is unneeded because the variable $isFile cannot be true at this position. See line 74.