[SourceManager] Fix crash