add null safety to ProjectRef construction