fix a bug when project_data is none

Per the discussion [here](https://github.com/SublimeText/SideBarFolders/commit/b18516f1c6f97e01120ab32eb6a33765328cfdc8#sidebarfolders-py-P5)