Taking in account the case when the source variable is not defined and an UnboundLocalError exception is raised
Merge pull request #115 from Mibou/master

Taking in account the case when the source variable is not defined