I'm getting your same original problem:

[!] Something went wrong, printing the error: name 'msfpath' is not defined

Checking the set.config file, I have the same path. How did you solve this...