[devtools] fix: some scripts will not show in devtools

After it hit some filedescriptor with undefined "name" field,
an entry with empty "path" is added to uiSourceCode map.