[SourcesManager] Properly check the last version for update prompt.