Avoid a null message when capability is not configured

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>