xbps_transaction_commit: reset var value if binpkg/signature was downloaded successfully.