Hi @MichalBryxi: could you please explain how this change fixes the issue?  From what I can tell from a cursory glance, this commit is just removing a necessary nil check (stat can return nil if it doesn't exist, part of the resource's path is not a directory, or access is denied to stat the file/directory).