This allows to simplify a lot of code by not having to pass around the xbps handle everywhere just to print some debug information.