Ensure that we have a title before using it.

Change-Id: Ibd28ed71736fdc75e9341312dc222d2fc0b1b24c
Merge "Ensure that we have a title before using it."