Fix NPE when removing last project from workspace

TBR