Fix for empty path.