Fix for `$path_fix` when `sizeof($parts) == 1`

The result from the `explode` call will always be an array, never NULL,
so it doesn't make sense to check it using `isset`.