Making the thrift generated code script work when projects are empty.