prevent null pointer exception when fetching project list from server with some undefined project types