Fix empty path data providing logic