Correct the ScriptRepositoryParser

re #6175