`FileHelper::realpath($this->basePath, true)` ?
Actually why not changing the default value of `$checkPhar` to be true in `FileHelper`?