Fix a crash with sf2.3 when $path is empty