Fix bug when creating new projects.

Change-Id: I6a027a1bee4cf4bda523b3904d527f43a242689a
Reviewed-on: https://review.openstack.org/24464
Reviewed-by: Anita Kuno <akuno@lavabit.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins