Merge "Fix an atest crash when no build targets found." into main