[2.2] Throws NoSuchTransactionException in LogicalTransactionStore#getMetadataFor

instead of returning null. Will make for better error message in the log.