The current code wasn't returning the full error properly. Signed-off-by: Sébastien Han <seb@redhat.com>