better handling when source is not under GIT