Fix panic when no projects exist