Your old dog may be vomiting yellow material first thing in the morning if they go too long between meals. Try changing mealtime so that you are feeding your dog later in the evening, or give them a high protein snack (such as unseasoned chicken breast, liver treats or deli turkey) right before bed. If this doesn't help, call your vet.