Fix bug that loaded data from git twice