Query project uuid using fq_name_to_uuid if not passed

Change-Id: I0f14c75687d0c2285b42113053766db41db4cbdc
Merge "Query project uuid using fq_name_to_uuid if not passed"