Remove one Path::home of ScriptRepositoryImpl

re #6175