Fixed problems with the path when option --source is present