BUG 864: Add more meaningful message

It turns out that this error is thrown for various reasons, we need to
improve logging in order to be able to track down offenders.

Change-Id: I2e90822d6cadb336f8e633dc9e76bdca077b8103
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 3336e7fd54c23cc0cc0e45da0b158ebb0580bff5)
Merge "BUG 864: Add more meaningful message" into stable/hydrogen