If `@args[:ipath]` is nil, the call to `#slice` will raise a NoMethodError since nil can't slice.