Only show register message if it has a value.