Print before exiting

Remove "break" as it is unreachable. Move the logging statement
to before we exit as well.

Change-Id: I8a5c3e8fd2cf0532e15cc7eb9920a2ca7428b28f
Merge "Print before exiting"