If uuid is not present in project refs, query using fq_name_to_uuid

Change-Id: I6d3cd6788f21f8fb244fba93eea9353cc4c24622