fix crash when starting an analysis without sources