Quick return when path is leaf (i.e file)