Make sure the project ref contains domain info before looking up domain. Change-Id: Iea82898c213bf833b6d2fdbf7cca694a4e0afd33 Closes-bug: #1784536