Japanese officials denied that Mr Mashimo had been sold on to an al Qaeda-connected group , and said they were waiting for the Yemeni government to agree to release from jail a member of the tribe holding the engineer .