added debug logs and error handling to source file processing
Merge pull request #546 from iki/fix/installing-from-git-repository

Fix installing from a git repository
Merge branch 'fix/zero-length-joins' into develop
Merge branch 'master' into develop