minor changes to git source location finding