Make it work even on imports when title is null.

Change-Id: I75acf8860d15f5f47f16e1f35a5ea07cc88bac85
Merge "Make it work even on imports when title is null."