Fix NPE when creating project via command line

If a user created a project on the command line without specifying the
contributor agreements flag, it was left as null and threw an NPE when
creating a commit.

Change-Id: Ic7e972b1f7707a393a7a9011b9cb2832095ed8e0
1 file changed