[repo] fixed get dir data bug for encrypted repo