Ask whoever wrote that in the first place, I have no idea :wink: 
I can remove it. I guess calling substr($path, 1) on an empty path also results in an empty path.