Taking in account the case when the source variable is not defined and an UnboundLocalError exception is raised