Add some more information to error messages

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>