Handle lack of username for project_name defaults

It's possible that there will not be a value in username, so we can't
use it as a blind default.

Change-Id: Iae93b9ec0e691c7b2174a0138c5455e36ad77ad7