This makes it easier to guide the user through the reason why the transaction is marked as non final, and hints on how to let the node find the transaction. The error messages are shamelessly copied from getrawtransaction which has the same behavior.
Depends on D120002.