Improve assertion message.

Change-Id: I976f2e0a842262f4f46d50db19979a4ed7ad6f1c