Return for empty string here, otherwise it errors on $path = $paths[0];