Make the warning message for non-existing locals more helpful.