Fix new error message

The error message for if this went awry in my previous commit had the wrong source and destination variables used in it. I've fixed that and made the names more explicit.