lib/transaction_ops.c: only call xbps_pkg_name() when it's really necessary.
Introduce XBPS_STATE_CONFIGURE_DONE and use it in xbps-reconfigure(8).